Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tech_notes:nginx [2023-12-29 Fri wk52 12:55] baumkptech_notes:nginx [2023-12-29 Fri wk52 15:24] (current) baumkp
Line 1: Line 1:
-{{tag>nginx}}+{{tag>nginx http}}
 ======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:
 +  *[[https://en.wikipedia.org|Wikipedia]]:
 +    *[[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes|List of HTTP status codes]]
   *[[https://www.freecodecamp.org/|Freecodcamp]]:   *[[https://www.freecodecamp.org/|Freecodcamp]]:
     *[[https://www.freecodecamp.org/news/the-nginx-handbook/|The NGINX Handbook – Learn NGINX for Beginners]]     *[[https://www.freecodecamp.org/news/the-nginx-handbook/|The NGINX Handbook – Learn NGINX for Beginners]]
  • /app/www/public/data/attic/tech_notes/nginx.1703825722.txt.gz
  • Last modified: 2023-12-29 Fri wk52 12:55
  • by baumkp