Settings > Hosts > Nginx

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

MAMP

  • Directory index

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

  • AutoIndex

    Activates or deactivates “directory browsing”. If there is no index.html, index.php, etc. in the document root, the content of the folder is 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.