Advanced Options
The Options tab modifies the nginx behavior for the specific Static Files address.
Enable index.html behavior
Toggles whether nginx will serve index.html when a visitor accesses a web path without a document. When PHP is enabled the configuration will favor index.html before checking index.php.
Enable PHP
Lifeboat is able to enable and disable PHP for individual Static Files configurations. This checkbox toggles whether or not nginx will execute PHP scripts. When disabled, PHP scripts will be returned as plain text! Which could be a security concern.
This checkbox is not visible when PHP is not installed. More details on installing PHP with Lifeboat.
mod_rewrite
Options
The mod_rewrite
options are the nginx equivalent of .htaccess
directives. The associated software should be installed in the path specified as "Source Path".
Supported software:
- Grav - A flat-file markdown CMS
- MantisBT - The REST API endpoints for Mantis Bug Tracker
- Sendy - Self hosted newsletter software
- YOURLS - Your Own URL Shortener
If you have a need for more please contact support!