Skip to content

Instantly share code, notes, and snippets.

@lfender6445
Last active December 22, 2016 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfender6445/ed8c5e26db64eba595ae4aaf4d15ee0d to your computer and use it in GitHub Desktop.
Save lfender6445/ed8c5e26db64eba595ae4aaf4d15ee0d to your computer and use it in GitHub Desktop.
nginx
› nginx -v
nginx version: nginx/1.8.1
› nginx -T
nginx: invalid option: "T"
› nginx -h
nginx version: nginx/1.8.1
Usage: nginx [-?hvVtq] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration 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: /usr/local/Cellar/nginx/1.8.1/)
-c filename : set configuration file (default: /usr/local/etc/nginx/nginx.conf)
-g directives : set global directives out of configuration file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment