Home  >  Article  >  Operation and Maintenance  >  How to solve the problem of 503 after nginx proxy

How to solve the problem of 503 after nginx proxy

WBOY
WBOYforward
2023-05-12 08:34:214853browse

Problem:

After configuring serve_name and adding the corresponding mapping in hosts, it does not take effect after restarting nginx

How to solve the problem of 503 after nginx proxy

##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\Connections

You will find the configuration of DefaultConnectionSettings and SavedLegacySettings items

How to solve the problem of 503 after nginx proxy

How to solve the problem of 503 after nginx proxy#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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete