Nginx 502 Bad Gateway 排查
1年前 • 499次点击 • 来自 Linux
How to Fix a 502 Bad Gateway Error on Your WordPress Site
How to Solve 502 Bad Gateway Issues?
How to solve 502 errors as a web developer
As a web developer or owner of the website, there are a few reasons why you may be experiencing a 502 Bad Gateway error on your origin server. Therefore, you may need to try various methods to resolve the issue. Reference the list of suggestions below:
- Check if your FQDN (fully qualified domain name) is resolving correctly by using our DNS test tool.
- Verify if your server is reachable by using a ping test or traceroute.
- Check your firewall logs if you are seeing unusual drops.
- If you're a Cloudflare user, try disabling it as once you've reached a certain limit Cloudflare will return a 502 Bad Gateway error to your visitors.