in NGINX by
Q:

You can ask Nginx to refresh its configuration file using _____________.

(1)nginx -s restart
(2)nginx -s reopen
(3)nginx -s refresh
(4)nginx -s reload

1 Answer

0 votes
by

nginx -s reload

You can ask Nginx to refresh its configuration file using nginx -s reload

Controlling NGINX

To reload your configuration, you can stop or restart NGINX, or send signals to the master process. A signal can be sent by running the nginx command (invoking the NGINX executable) with the -s argument.

nginx -s <SIGNAL>

where <SIGNAL> can be one of the following:

  • quit – Shut down gracefully
  • reload – Reload the configuration file
  • reopen – Reopen log files
  • stop – Shut down immediately (fast shutdown)

The kill utility can also be used to send a signal directly to the master process. The process ID of the master process is written, by default, to the nginx.pid file, which is located in the /usr/local/nginx/logs or /var/run directory.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Oct 25, 2019 in NGINX by rajeshsharma
0 votes
asked Sep 5, 2019 in NGINX by Robin
0 votes
asked Sep 5, 2019 in NGINX by Robin
0 votes
asked Sep 5, 2019 in NGINX by Robin
0 votes
asked Sep 5, 2019 in NGINX by Robin
...