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
tech_notes:nginx [2023-12-29 Fri wk52 13:17] baumkptech_notes:nginx [2023-12-29 Fri wk52 15:24] (current) baumkp
Line 2: Line 2:
 ======Nginx====== ======Nginx======
  
 +On a simple system nginx can be started with ''/usr/sbin/nginx'' basically calling nginx executable with defaults.
 +
 +++++nginx -h|
 +<code>nginx version: nginx/1.24.0
 +Usage: nginx [-?hvVtTq] [-s signal] [-p prefix]
 +             [-e filename] [-c filename] [-g directives]
 +
 +Options:
 +  -?,-h         : this help
 +  -v            : show version and exit
 +  -V            : show version and configure options then exit
 +  -t            : test configuration and exit
 +  -T            : test configuration, dump it and exit
 +  -q            : suppress non-error messages during configuration testing
 +  -s signal     : send signal to a master process: stop, quit, reopen, reload
 +  -p prefix     : set prefix path (default: /var/lib/nginx/)
 +  -e filename   : set error log file (default: logs/error.log)
 +  -c filename   : set configuration file (default: /etc/nginx/nginx.conf)
 +  -g directives : set global directives out of configuration file</code>++++
  
 References: References: