• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Unable to edit/add additional nginx directives

vectr0n

New Pleskian
All of a sudden I am unable to edit/add anything to the additional nginx directives, nothing has changed on the vm. It was working fine yesterday, login today and getting this:

Internal error ;-P
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

I have tried to disable/enable nginx and then generate config with "/opt/psa/admin/bin/httpdmng --reconfigure-all"
I have restarted everything possible, even restarted the vm and still getting this error, this is absolutely nothing in logs at all period I have went over them already, very stumped.

Plesk Version:
Product version: Plesk Onyx 17.0.17 Update #12
Update date: 2017/01/06 08:04
Build date: 2016/11/17 16:00
OS version: Ubuntu 16.04
Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
Architecture: 64-bit
Wrapper version: 1.2

Nginx Block Trying To Add:
location ~ / {
proxy_pass http://10.47.40.10:9393;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log off;
proxy_set_header Proxy "";
}

Same block types worked yesterday when adding them, I can't edit them now tho get the above error.
 
Back
Top