Search

Servers and Services > Nginx

The Nginx web server is a popular web server used in production environments. MAMP PRO installs an instance of Nginx on your Mac. Information on how to custom configure your Nginx server can be found here.

MAMP

  • Include Nginx server in GroupStart

    Check this to include the Nginx server in GroupStart. If enabled, Nginx will start and stop automatically when the Servers button is pressed.


  • Use Nginx as reverse proxy for Apache**

    Check this to use Nginx as a reverse proxy for Apache. When this option is checked, the following will be added to your “C:\Users\Public\Documents\Appsolute\MAMPPRO\conf" file. Your requests will now be redirected to your Apache server localhost.

      # proxy the PHP scripts to Apache
      location ~ \.php$ {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_pass http://xxx.xxx.x.xxx:8888;
      }    
    

  • Nginx Modules

    The Nginx web server installed by MAMP PRO comes with several modules preinstalled.

    The web server modules can be enabled or disabled according to your needs. Module description provides information about features and functions of the selected module.


  • Path to Nginx log file

    Errors that occur during the execution of the Nginx server are stored in this log file.