mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Delete website/docs/articles/domains/all-domains-show-nginx-502-error.md
This commit is contained in:
parent
4f7a24e726
commit
cfe8561a01
@ -1,20 +0,0 @@
|
|||||||
# All Domains show Nginx 502 error
|
|
||||||
|
|
||||||
This happens when a third party user/service restarted docker and the floating ip service failed to reload the `/etc/hosts` file with new docker private IP addresses.
|
|
||||||
|
|
||||||
To resolve this issue, run:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
opencli server-recreate_hosts
|
|
||||||
```
|
|
||||||
|
|
||||||
Then restart Nginx service:
|
|
||||||
|
|
||||||
- soft restart (reload without downtime):
|
|
||||||
```bash
|
|
||||||
docker exec nginx bash -c "nginx -t && nginx -s reload"
|
|
||||||
```
|
|
||||||
- hard restart (stop and start again):
|
|
||||||
```bash
|
|
||||||
docker restart nginx
|
|
||||||
```
|
|
Loading…
Reference in New Issue
Block a user