4 ms·
It is definately simpler to configure Nginx to reverse proxy, Apache needs a few more lines of configuration.
by nawitus 13y ago
It is definately simpler to configure Nginx to reverse proxy, Apache needs a few more lines of configuration.
- jebblue 13y agoFrom http://httpd.apache.org/docs/2.2/mod/mod_proxy.html http://httpd.apache.org/docs/2.2/mod/mod_proxy.html: ProxyPass /foo http://foo.example.com/bar http://foo.example.com/bar ProxyPassReverse /foo http://foo.example.com/bar http://foo.example.com/bar I've used it for years, it's not hard.
- nawitus 13y agoI 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.
- gnaritas 13y agoInstalling 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.
- MatthewPhillips 13y agoFor the simple case Apache is only 2 lines. Nginx requires more, because Apache automatically sets the proxy headers and Nginx does not.
- insertnickname 13y agohttp://d-e-f-i-n-i-t-e-l-y.com/ http://d-e-f-i-n-i-t-e-l-y.com/