Can I use the same Nginx installation as a reverse proxy (for apache+mod_wsgi) and use it to serve static content and PHP over a single IP address at the same time?
feedback
|
migrated from webmasters.stackexchange.com Aug 19 '11 at 17:47
This question came from our site for pro webmasters.
|
Yes, you can use one nginx instance to serve both static content, dynamic content (by proxying to an FCGI or backend HTTP app server) and a reverse proxy. The configuration is straightforward and covered by the excellent documentation and examples available from http://wiki.nginx.org/. | |||
|
feedback
|
|
Using different listen ports and redirecting incoming connections (for e. g., with firewall) properly. | |||||||||
feedback
|