Franco
Regular Pleskian
Hello,
my config is Plesk 12.5, apache 2.2 with nginx (no fpm-php), php 7.0.4 on all wordpress sites.
The system is quite stable and secured with fail2ban, mod_security etc., I rarely see attacks and other bugs these days (touch wood).
The only thing is this ancient problem I carry from the beginning of times (there was another ticket of mine about this a while back): systematically after reboot or at random times (average once per week, but unpredicatably) all my sites go down with 502 bad gateway. If I am around the fix is easy and straightforward: go to Plesk, tools&settings, firewall, disable all rules, enable all rules. That's it.
I have been searching and searching to get to the root cause: what is changing the network to cause this? What is touching the firewall rules and for what reason? Nothing in the nginx log, apache log, websites log, no warnings, no errors, just a blackout. If the firewall rules change is there a log somewhere?
In here I saw a suggestion to stop/start apache on a regular basis https://talk.plesk.com/threads/502-bad-gateway-error-on-all-domains.337351/ but I don't think it's my case as the 502 happens directly and systematically after a reboot.
Can somebody point me to the right direction, please?
Regards
Franco
my config is Plesk 12.5, apache 2.2 with nginx (no fpm-php), php 7.0.4 on all wordpress sites.
The system is quite stable and secured with fail2ban, mod_security etc., I rarely see attacks and other bugs these days (touch wood).
The only thing is this ancient problem I carry from the beginning of times (there was another ticket of mine about this a while back): systematically after reboot or at random times (average once per week, but unpredicatably) all my sites go down with 502 bad gateway. If I am around the fix is easy and straightforward: go to Plesk, tools&settings, firewall, disable all rules, enable all rules. That's it.
I have been searching and searching to get to the root cause: what is changing the network to cause this? What is touching the firewall rules and for what reason? Nothing in the nginx log, apache log, websites log, no warnings, no errors, just a blackout. If the firewall rules change is there a log somewhere?
In here I saw a suggestion to stop/start apache on a regular basis https://talk.plesk.com/threads/502-bad-gateway-error-on-all-domains.337351/ but I don't think it's my case as the 502 happens directly and systematically after a reboot.
Can somebody point me to the right direction, please?
Regards
Franco