This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| web-nginx [2024/07/16 14:32] – [Advanced Settings] -spelling hogwild | web-nginx [2024/11/27 02:12] (current) – [Advanced Settings] hogwild | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Nginx & PHP ====== | ====== Nginx & PHP ====== | ||
| - | This menu contains settings for FreshTomato' | + | This menu contains settings for FreshTomato' |
| - | \\ | + | |
| - | \\ | + | Note that FreshTomato also has a built-in (httpd) web server used only for router administration. |
| ===== Status ===== | ===== Status ===== | ||
| | | ||
| - | **NGINX is currently running: | + | **NGINX is currently running:** displays the service status. Clicking [Stop Now] stops the service. |
| - | **NGINX is currently stopped:** This displays the service status. Clicking [Start Now] immediately stops the service. | + | \\ |
| - | **Enable Server on Start:** | + | **NGINX is currently stopped:** displays the service status. Clicking [Start Now] stops the service. |
| - | **Enable PHP support: | + | \\ |
| + | |||
| + | **Enable Server on Start: | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Enable PHP support: | ||
| + | |||
| + | \\ | ||
| - | **Run As: | + | **Run As:** specifies under which system account the nginx daemon will run. |
| * root - The nginx daemon will run under the root account. | * root - The nginx daemon will run under the root account. | ||
| Line 28: | Line 37: | ||
| **Keep Config files: TBD** | **Keep Config files: TBD** | ||
| - | **Web Server Port:** This specifies on which LAN port Web content will be served. Traditionally, | + | \\ |
| - | **Upload file size limit:** This enforces a hard-coded limit for the maximum amount of data to be uploaded in a single session. | + | **Web Server Port:** here, enter the LAN port on which Web content is served. |
| - | **Allow Remote Access:** Enabling this chooses whether Nginx content will be visible from the WAN. If enabled, content | + | Traditionally, |
| - | | + | \\ |
| - | **Document Root Path:** Here, specify | + | **Upload file size limit:** enforces a specified limit for the maximum amount |
| - | **Server Priority: | + | \\ |
| - | **Enable h5ai support:** | + | **Allow Remote Access:** sets whether Nginx content |
| - | In order to benefit from h5ai, you must: | + | Content is served on the "Web Server Port". \\ |
| - | - Enable | + | \\ {{: |
| - | - Enable PHP on this menu | + | |
| + | \\ | ||
| + | |||
| + | **Document Root Path: | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Server Priority: | ||
| + | |||
| + | This value assigns the Webserver process a CPU priority relative to other processes. Valid settings are from -20 (highest) to 19 (lowest). | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Enable h5ai support: | ||
| + | |||
| + | \\ | ||
| + | |||
| + | To benefit from h5ai, you must: | ||
| + | |||
| + | \\ | ||
| + | |||
| + | | ||
| + | - Enable PHP on this menu. | ||
| - Download [[https:// | - Download [[https:// | ||
| Line 51: | Line 82: | ||
| ===== Advanced Settings ===== | ===== Advanced Settings ===== | ||
| - | These fields let you add custom settings to tweak default behaviour. For more details, please consult the official | + | Here, you can add custom settings to tweak default behaviour. For details, please consult the Nginx [[https:// |
| \\ | \\ | ||
| Line 61: | Line 92: | ||
| {{: | {{: | ||
| - | **Use user config file: | + | **Use user config file: |
| - | **User config file path: | + | This will override some web interface settings. |
| + | |||
| + | \\ | ||
| + | |||
| + | **User config file path: | ||
| + | |||
| + | Settings | ||
| \\ \\ | \\ \\ | ||
| **Example configuration of the HTTP section for an SSL server:** | **Example configuration of the HTTP section for an SSL server:** | ||
| + | |||
| + | \\ | ||
| > server {\\ listen 444 ssl; | > server {\\ listen 444 ssl; | ||
| - | \\ \\ | + | \\ \\ \\ |