How Tos > General
Use Nginx as reverse proxy for Apache while redirecting to a host other than localhost
When you check the “Use Nginx as a Reverse Proxy for Apache” check box in Settings > Hosts > Nginx, by default your Nginx PHP scripts will be redirected to localhost. You can direct your PHP scripts to a host other than localhost by making two small changes in your Nginx template file and MAMP PRO interface.
Change the port number of the Apache host you want PHP scripts to be redirected to.
In your Nginx template change the port number to reflect the port number change in your Apache host.