nginx modify the problem is not in effect after the configuration file

After you configure a reverse proxy in nginx.conf file, restart nginx does not take effect.

The reason: There are many background processes nginx

Solution: Close all processes, then restart nginx

By way of the command line, at nginx installation path input:

(1) taskkill / IM nginx.exe / F to close all nginx processes.

(2) start nginx restart nginx

Guess you like

Origin www.cnblogs.com/sbclmy/p/11362365.html