Re:Nginx Is Taking Over the Internet
by nawitus on Friday September 06, 2013 @12:12PM
(#6341142)
It is definately simpler to configure Nginx to reverse proxy, Apache needs a few more lines of configuration.
[ Parent
| on HN ]
From http://httpd.apache.org/docs/2.2/mod/mod_proxy.html:
ProxyPass /foo http://foo.example.com/bar ProxyPassReverse /foo http://foo.example.com/bar
I've used it for years, it's not hard.
I was talking about installing Apache and setting it up as a reverse proxy vs. installing Nginx and setting it up as a reverse proxy. Nginx takes less configuration in that scenario. I've done both and neither are hard, but nginx is slightly easier.
Installing Apache is a single command, enabling mod proxy is a single command and two lines of config. So yes, they are both trivially simple to do, even if Nginx is slightly simpler. Neither should be seen as a barrier of complexity.
Re:Nginx Is Taking Over the Internet
by MatthewPhillips on Friday September 06, 2013 @01:04PM
(#6341418)
For the simple case Apache is only 2 lines. Nginx requires more, because Apache automatically sets the proxy headers and Nginx does not.
Re:Nginx Is Taking Over the Internet
by insertnickname on Saturday September 07, 2013 @02:51AM
(#6344187)