• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

502 Bad Gateway nginx

ErwanG

Regular Pleskian
Hello,

We have a problem with a magento website.
Often (perhaps when we use administration), we have the message "502 Bad Gateway nginx".

We have added server instructions in Plesk Nginx:
proxy_buffers 16 16k;
proxy_buffer_size 32k;
fastcgi_buffer_size 32k;
fastcgi_buffers 16 12k;


But we have still the problem.

We have tried :
http://kb.odin.com/en/123735
And
https://www.yireo.com/tutorials/mag...denied-by-server-configuration-appetclocalxml

Without results...

The log file say:

[client x.x.x.x] client denied by server configuration: /var/www/vhosts/domain.com/httpdocs/app/etc/local.xml

x.x.x.x is the website IP.

An idea?
 
The website are down...
How can i put it online? I've reload nginx and "/usr/local/psa/admin/sbin/httpdmng --reconfigure-all" but nothing. Still
502 Bad Gateway nginx...

Thanks a lot for your help.
 
If you go to http://kb.odin.com and try to search something like "502 Bad Gateway nginx" you will see many related articles.Try to apply these solutions and they not help - contact Odin Support Team.
 
I can only recommend to create a request to support team to do in-depth investigation to find the reason and to fix it. Please create a ticket to support at https://www.odin.com/support/request/ .
You may have free support, please check what kind of Plesk license you use for available support options at http://kb.odin.com/en/121580 .
If there’s no free support in your case, you can order Plesk per-incident support at http://www.odin.com/support/buy-support/ Support team will contact you as soon as purchase is processed, and they will do the best to resolve it.
If it is found that your problem was caused by product bug w/o available solution or workaround from Parallels, then your purchase will be re-funded.
 
Back
Top