Difference between revisions of "IT-SDK-Webserver"

From wiki.samerhijazi.net
Jump to navigation Jump to search
(nginx)
(nginx)
Line 1: Line 1:
 
=nginx=
 
=nginx=
 
* source: http://nginx.org/en/docs/beginners_guide.html
 
* source: http://nginx.org/en/docs/beginners_guide.html
* cfg Name: nginx.conf
+
* cfg Name: /etc/nginx/nginx.conf
* cfg Location: '''/usr/local/nginx/conf''', '''/usr/local/etc/nginx''' or '''/etc/nginx'''.
+
* cfg Blocks: http, server, location
 +
* cfg Location: /usr/local/nginx/conf, /usr/local/etc/nginx or '''/etc/nginx'''.
 
* control: nginx -s signal. Where signal may be the following: stop, quit, reload, reopen
 
* control: nginx -s signal. Where signal may be the following: stop, quit, reload, reopen
 
* KILL: kill -s QUIT 1628
 
* KILL: kill -s QUIT 1628
 
* List: ps -ax | grep nginx
 
* List: ps -ax | grep nginx
 +
* List content of Directory: autoindex=on;

Revision as of 12:06, 13 February 2020

nginx

  • source: http://nginx.org/en/docs/beginners_guide.html
  • cfg Name: /etc/nginx/nginx.conf
  • cfg Blocks: http, server, location
  • cfg Location: /usr/local/nginx/conf, /usr/local/etc/nginx or /etc/nginx.
  • control: nginx -s signal. Where signal may be the following: stop, quit, reload, reopen
  • KILL: kill -s QUIT 1628
  • List: ps -ax | grep nginx
  • List content of Directory: autoindex=on;