Common Commands terminal restart nginx start off under linux

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/qq_43687990/article/details/102527804

nginx restart the linux boot closed

First, enter the directory containing the executable nginx
./nginx -c designated to load nginx configuration file path
./nginx -s stop: a quick stop nginx
reload start after modifying the configuration file: ./nginx -s reload the entry into force
./nginx -s reopen: open the log file
./nginx -t -c configuration file path: detection nginx configuration file is correct

Guess you like

Origin blog.csdn.net/qq_43687990/article/details/102527804