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.
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