• Resolved Copiaurbietorbi

    (@copiaurbietorbi)


    Good day Folks,

    We’ve been having several 502 Bd Gateway errors lately. We did the correspondent troubleshooting from our end, while discussing the issue with our hosting provider. After several tests, they concluded that the firewall in wordfence could be responsible for this issue.

    We had our firewall in learning mode for a while and then switched back to enabled and protected. We wonder if the firewall configuration that we have (which is basically what the plugin has when we installed it) can mistake safe content for malicious content and stop the safe content in its tracks.

    Your help with this issue will be greatly appreciated.

Viewing 16 replies (of 16 total)
  • Thread Starter Copiaurbietorbi

    (@copiaurbietorbi)

    OK. We tried to find any traces of the plugin and we couldn’t find anything with wf or waf. The only trace we found was, as we mentioned before, here:

    /home/company/public_html/wordpress/.user.ini

    ; Wordfence WAF
    auto_prepend_file = ‘/home/company/public_html/wordpress/wordfence-waf.php’
    ; END Wordfence WAF

    We deleted that line and this is how we got back access to the site.

    If this is OK for you then we will proceed to reinstall the plugin.

    Thank you for your help and interest.

Viewing 16 replies (of 16 total)
  • The topic ‘Bad 502 Gateway Error NGINX’ is closed to new replies.