Solution to the problem that Nginx modified content does not take effect after restart

introduction

Today, the project was analyzed and the domain name mapping function was performed, but the modification of nginx did not take effect.

solution

This problem is mainly caused by the fact that the nginx background process is not completely shut down. This blog records the instructions

Reason: There are many nginx processes in the background

Solution: close all processes, and then restart nginx

Through the command line, enter in the nginx installation path:

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

(2) start nginx restart nginx

Guess you like

Origin blog.csdn.net/MarkusZhang/article/details/107849442