Hallo,
Ich nutze Plesk 12.5 auf Jessie (netcup Image) alles läuft soweit wie es soll mit nginx als reverse proxy.
Jedoch erhalte ich (meistens um 6 Uhr morgends) auf allen Webseiten einen 502 - Bad Gateway error.
ERRORLOG:
2015/11/12 09:17:47 [error] 31126#0: *13 connect() failed (111: Connection refused) while connecting to upstream, client: 35.0.127.52, server: domain.tld, request: "GET /favicon.ico HTTP/1.1", upstream: "https://IP:7081/favicon.ico", host: "domain.tld"
Folgendes hab ich schon getan:
- /etc/nginx.conf im http block folgendes hinzugefügt:
Zitatproxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
- Das gleiche habe ich auf im Panel unter den nginx einstellungen hinzugefügt
Das einzige was ich jetzt custom per nginx template geändert habe ist folgendes (nginxDomainVirtualHost.php" (custom)):
Zitatssl_session_cache shared:SSL:5m;
ssl_dhparam /etc/ssl/RSA2048.pem;
Hat schon jemand von euch dieses Problem gehabt bzw. weiss lösung zu diesem Problem?
EDIT: Thread dazu im Odin Forum:
nginx 502 error | Odin Forum
Danke