- Plesk 10.x for Windows
- Plesk for Linux
- Plesk 11.x for Linux
While accessing a protected directory in a web browser, it fails with 502 Bad Gateway error after entering the login and password.
2013/07/31 23:59:27 [error] 3671#0: *209872 upstream prematurely closed connection while reading response header from upstream,
client: 10.20.30.40, server: example.com, request: "GET /download/debian/ HTTP/1.1", upstream: "http://10.20.30.40:7080/download/debian/",
This failure occurs due to timeout.
Add the following lines to
fastcgi_buffers 8 128k;
Restart Nginx service:
~# service nginx restart