After configuring serve_name and adding the corresponding mapping in hosts, it does not take effect after restarting nginx
##Solution:1. Whether serve_name is set or not, after starting nginx, it can be accessed through localhost or windows10.microdone.cn; 2. Based on this problem, check the network configuration: Operation steps: 1), win r, enter regedit; 2), check the registry: Computer\HKEY_ _CURRENT_ _USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ConnectionsYou will find the configuration of DefaultConnectionSettings and SavedLegacySettings items#Then delete these two items directly;
3. After this problem occurs, you will think that the problem occurs on the local proxy [Close the proxy directly and the problem will be solved]
The above is the detailed content of How to solve the problem of 503 after nginx proxy. For more information, please follow other related articles on the PHP Chinese website!