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:24] – [Status] -Condense, grammar 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: | + | **Document Root Path: |
\\ | \\ | ||
- | **Server Priority: | + | **Server Priority: |
+ | |||
+ | This value assigns the Webserver process a CPU priority relative to other processes. Valid settings are from -20 (highest) | ||
\\ | \\ | ||
- | **Enable h5ai support: | + | **Enable h5ai support: |
\\ | \\ | ||
- | In order to benefit from h5ai, you must: | + | To benefit from h5ai, you must: |
+ | |||
+ | \\ | ||
- Enable h5ai support. | - Enable h5ai support. | ||
Line 75: | 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 85: | 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; | ||
- | \\ \\ | + | \\ \\ \\ |