• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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