tech_notes:nginx

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-28 Thu wk52 13:26] baumkptech_notes:nginx [2023-12-29 Fri wk52 15:24] (current) baumkp
Line 1: Line 1:
 +{{tag>nginx http}}
 +======Nginx======
  
-{{tag>nginx}} +On a simple system nginx can be started with ''/usr/sbin/nginx'' basically calling nginx executable with defaults. 
-======Nginx Notes======+ 
 +++++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: 
 +  *[[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/news/the-nginx-handbook/|The NGINX Handbook – Learn NGINX for Beginners]] 
 +  *[[https://www.digitalocean.com/|Digitalocean]]: 
 +    *[[https://www.digitalocean.com/community/tutorials/understanding-nginx-server-and-location-block-selection-algorithms|Understanding Nginx Server and Location Block Selection Algorithms]] 
 +    *[[https://www.digitalocean.com/community/tutorials/nginx-location-directive|Nginx location directive examples]] 
 +    *[[https://www.digitalocean.com/community/questions/understanding-nginx-location-blocks-differences-use-cases-and-examples|Understanding Nginx Location Blocks: Differences, Use Cases, and Examples]] 
 +    *[[https://www.digitalocean.com/community/tutorials/how-to-create-temporary-and-permanent-redirects-with-nginx|How To Create Temporary and Permanent Redirects with Nginx]] 
 +    *[[https://www.digitalocean.com/community/tutorials/nginx-rewrite-url-rules|Nginx Rewrite URL Rules Examples]] 
 +    *[[https://www.digitalocean.com/community/tools/nginx?domains.0.php.php=false&domains.0.routing.index=index.html&domains.0.routing.fallbackHtml=true&global.https.sslProfile=modern&global.https.ocspGoogle=false&global.https.ocspOpenDns=false&global.https.ocspQuad9=true|NGINXConfig]] The easiest way to configure a performant, secure, and stable NGINX server. 
 +  *[[https://www.thegeekstuff.com/|The Geek Stuff]] 
 +    *[[https://www.thegeekstuff.com/2017/05/nginx-location-examples/|13 Nginx Location Directive Examples including Regular Expression Modifiers]] 
 +    *[[https://www.thegeekstuff.com/2017/08/nginx-rewrite-examples/|7 Nginx Rewrite Rule Examples with Reg-Ex and Flags]] 
 +    *[[https://www.thegeekstuff.com/2013/12/nginx-php-fpm/|How to Configure Nginx to Execute PHP Using PHP-FPM]] 
 +    *[[https://www.thegeekstuff.com/2014/03/php-custom-file-extension/|How to Add Custom File Extension for PHP in Apache and Nginx]] 
 +    *[[https://www.thegeekstuff.com/2017/05/nginx-location-examples/#comments|13 Nginx Location Directive Examples including Regular Expression Modifiers]]
  
 <- tech_notes:regex|Back ^ tech_notes:index|Start page ^ tech_notes:iperf| Next-> <- tech_notes:regex|Back ^ tech_notes:index|Start page ^ tech_notes:iperf| Next->
  • /app/www/public/data/attic/tech_notes/nginx.1703741187.txt.gz
  • Last modified: 2023-12-28 Thu wk52 13:26
  • by baumkp