Site Tools


web-nginx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
web-nginx [2023/05/21 03:28] hogwildweb-nginx [2023/06/27 20:34] – [Status] -formatting of Start Now/Stop Now hogwild
Line 1: Line 1:
 ====== Nginx & PHP ====== ====== Nginx & PHP ======
  
-This menu contains settings for FreshTomato's internal webserver (Nginx) and optional support for PHP.  Note that FreshTomato also has a built-in (httpd) webserver used only for router administration. This additional minimal Webserver is based on a more modern version of Nginx. \\  +This menu contains settings for FreshTomato's internal web server (Nginx) and optional support for PHP.  Note that FreshTomato also has a built-in (httpd) web server used only for router administration. This additional minimal web server is based on a more modern version of Nginx.  
- \\  + \\    
- \\  + \\ 
-{{:pasted:20220215-152554.png}} \\ +===== Status =====
- \\   +
- \\  +
-**NGINX is currently running/stopped:**  This displays the service status and lets you stop and start the process via the [//Stop now//]/[//Start now//] button.+
  
-**Enable Server on Start:**  Enabling this causes the nginx service to load at boot time during each boot.+ \\  {{:pasted:20220215-152554.png}} \\   \\   \\
  
-**Enable PHP support:**  Enabling this option will cause any PHP pages served by the webserver to be interpreted.+*NGINX is currently running [Stop Now]This displays the service status. Clicking Stop Now immediately stops the process.
  
-**Run As:**  The option chosen here specified under which system account the nginx daemon will run.+*NGINX is currently stopped [Start Now]: This displays the service status. Clicking Stops the NGINX service immediately. 
 + 
 +*Enable Server on Start: Enabling this causes the nginx service to load at boot time during each boot. 
 + 
 +*Enable PHP support: Enabling this option will cause any PHP pages served by the webserver to be interpreted. 
 + 
 +*Run As:*  The option chosen here specified 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 25: Line 28:
 **Keep Config files: TBD** **Keep Config files: TBD**
  
-**Web Server Port:** This specifies on which LAN port Web content will be served. Traditionally, the default HTTP port is port 80. However, a conflict might occur if the httpd Web server were configured to use the same port ([[admin_access|Admin Access]]). Consequently, a decision was made to make port 85 the default for Nginx.+**Web Server Port:** This specifies on which LAN port Web content will be served. Traditionally, the default HTTP port is port 80. However, a conflict might occur if the httpd web server were configured to use the same port ([[admin_access|Admin Access]]). Consequently, a decision was made to make port 85 the default for Nginx.
  
 **Upload file size limit:** This setting enforces a hard-coded limit for the maximum amount of data that can be uploaded in a single session. **Upload file size limit:** This setting enforces a hard-coded limit for the maximum amount of data that can be uploaded in a single session.
  
-**Allow Remote Access:** Enabling this chooses whether Nginx content will be visible from the WAN. If enabled, content is served on the same port as the LAN's "Web Server Port". \\  +**Allow Remote Access:** Enabling this chooses whether Nginx content will be visible from the WAN. If enabled, content is served on the same port as the LAN's "Web Server Port". \\ 
-  \\  + 
-  \\  + \\ 
-{{:pasted:20220215-153925.png}}  \\   \\   \\ **Web Server Name:**  Here, you enter the Webserver's name. (Default: Tomato).+ 
 +{{:pasted:20220215-153925.png}}  \\   \\   \\ **Web Server Name:**  Here, you enter the web server's name. (Default: Tomato).
  
 **Document Root Path:**  Here, you specify the filesystem location of the root folder where content/pages are located. **Document Root Path:**  Here, you specify the filesystem location of the root folder where content/pages are located.
Line 50: Line 54:
  {{:pasted:20220215-164209.png}}  {{:pasted:20220215-164209.png}}
  
-\\ The Custom Configuration fields allow you to define custom settings to tweak from default behaviour. For additional information please consult the latest official nginx documentation. \\  \\  \\+\\ The Custom Configuration fields allow let you specify custom settings to tweak default behaviour. For additional information please, you are advised to consult the latest official [[https://nginx.org/en/|nginx documentation]]. \\  \\  \\
  
 {{:pasted:20220215-164428.png}}\\  \\ {{:pasted:20220215-164428.png}}\\  \\
  
-**Use user config file:**  User config file will be usedsome of GUI settings are to be ignored+**Use user config file:**  Here, choose whether a custom configuraton file will be used. This will cause some web interface settings to to be overriden.
  
-**User config file path:**  Here, you can specify a custom path for the nginx configuration file.+**User config file path:**  Here, you can specify a custom path for the nginx configuration file. The settings in this file will only be active if the //Use user config file// setting is enabled. When //Use user config file// is disabled, the path remains in the field, but is not active.
  
  \\  \\
web-nginx.txt · Last modified: 2023/06/27 20:46 by hogwild