This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| web-nginx [2024/10/16 19:22] – [Status] hogwild | web-nginx [2024/11/27 02:12] (current) – [Advanced Settings] hogwild | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Note that FreshTomato also has a built-in (httpd) web server used only for router administration. Httpd is based on a more modern version of Nginx. | Note that FreshTomato also has a built-in (httpd) web server used only for router administration. Httpd is based on a more modern version of Nginx. | ||
| - | |||
| ===== Status ===== | ===== Status ===== | ||
| Line 10: | Line 9: | ||
| | | ||
| - | **NGINX is currently running: | + | **NGINX is currently running: |
| \\ | \\ | ||
| - | **NGINX is currently stopped: | + | **NGINX is currently stopped: |
| \\ | \\ | ||
| - | **Enable Server on Start: | + | **Enable Server on Start: |
| \\ | \\ | ||
| - | **Enable PHP support: | + | **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 40: | Line 39: | ||
| \\ | \\ | ||
| - | **Web Server Port: | + | **Web Server Port: |
| + | |||
| + | Traditionally, | ||
| \\ | \\ | ||
| - | **Upload file size limit: | + | **Upload file size limit: |
| \\ | \\ | ||
| - | **Allow Remote Access: | + | **Allow Remote Access: |
| - | \\ {{: | + | Content is served on the "Web Server Port". \\ |
| - | **Document Root Path: | + | \\ {{: |
| - | **Server Priority: | + | \\ |
| - | **Enable h5ai support: | + | **Document Root Path: |
| - | In order to benefit from h5ai, you must: | + | \\ |
| + | |||
| + | **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 | + | - Enable h5ai support. |
| - | - Enable PHP on this menu | + | - Enable PHP on this menu. |
| - Download [[https:// | - Download [[https:// | ||
| Line 67: | 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 77: | 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; | ||
| - | \\ \\ | + | \\ \\ \\ |