Websites error after enabling nginx on a server with fail2ban: 502 Bad Gateway

Created:

2016-11-16 12:39:00 UTC

Modified:

2017-08-17 15:09:05 UTC

2

Was this article helpful?


Have more questions?

Submit a request

Websites error after enabling nginx on a server with fail2ban: 502 Bad Gateway

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 12.0 for Linux

Note: This article has the reference to the issue with the fix available:

  • #PPP-18023 "IP addresses registered in Plesk were not added to the Fail2ban whitelist."
    Fixed in:
Please consider updating your server:

Symptoms

After enabling nginx on server, all websites are showing 502 Bad Gateway error.

Fail2ban is installed on server.

Cause

Caused by internal issue #PPP-18023 . Issue was fixed in Plesk 12.5 MU#7 .

Resolution

  1. Apply latest Plesk microupdates .

  2. In Plesk > Tools & Settings > IP Addresses click Re-read IP button to add server IP addresses to Trusted list of Fail2Ban.

Have more questions? Submit a request
Please sign in to leave a comment.