develog

nginx 명령어 본문

카테고리 없음

nginx 명령어

냐옴 2022. 7. 2. 21:06

nginx 명령어

$ ./sbin/nginx -h
nginx version: nginx/1.22.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: /home/user01/server/nginx/)
  -e filename   : set error log file (default: logs/error.log)
  -c filename   : set configuration file (default: conf/nginx.conf)
  -g directives : set global directives out of configuration file
## 버전
./nginx -v

## help
./nginx -h

## config test
./nginx -t

## start
./nginx

## shutdown
./nginx -s stop

## graceful shutdown
./nginx -s quit

## reload
./nginx -s reload

## reopen
./nginx -s reopen

 

 

https://www.nginx.com/resources/wiki/start/topics/tutorials/install

 

Install | NGINX

There are currently two versions of NGINX available: stable (1.20.x), mainline (1.21.x). The mainline branch gets new features and bugfixes sooner but might introduce new bugs as well. Critical bugfixes are backported to the stable branch. In general, the

www.nginx.com

 

https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/#sources

 

Installing NGINX Open Source | NGINX Plus

Installing NGINX Open Source Install NGINX Open Source either as a prebuilt package or from source, following step-by-step instructions for all supported Linux distributions. This article explains how to install NGINX Open Source. Choosing Between a Stab

docs.nginx.com

 

http://nginx.org/en/download.html

 

nginx: download

 

nginx.org

 

Comments