Skip to content
MAMP PRO Documentation

Nginx

Nginx options can be set for the virtual host selected in the table. These options are security-related!

MAMP

  • Directory index

    Determine which file Nginx should serve if no filename is given in a URL. By default, it is either index.html or index.php.

  • AutoIndex

    Enables or disables directory browsing. If there is no index.html, index.php, etc., in the document root, the contents of the folder are displayed when this option is enabled. Without this option, nothing will be displayed or an error message will appear.


  • Additional parameters for location:/

    • try_files

    • Custom


  • Access Limits

    • allow

      Insert access limits here.

    • deny

      Insert access deny limits here.


  • Additional parameters for <server> directive

    Add additional parameters to the <server> directive here.


  • nginx.conf File You cannot directly edit your nginx.conf file in MAMP PRO. You need to make custom configurations through your nginx.conf template file. More information on how to configure your nginx template file can be found in our Menu › File section.