Solution to Ubuntu and CentOS Plesk 502 Error
We check system errors with the following command.
journalctl -xe
Type the following values into the http{} range in the Nginx settings file.
nano /etc/nginx/nginx.conf
error_log /var/log/nginx/error.log;
error_log /var/log/nginx/error.log notice;
error_log /var/log/nginx/error.log info;
proxy_buffer_size 256k;
proxy_buffers 4 512k;
proxy_busy_buffers_size 512k;
We restart Nginx.
service nginx restart
We check the nignx status with the following command.
systemctl status nginx.service
for Plesk
To Activate Reverse Proxy Server:
/usr/local/psa/admin/sbin/nginxmng -e
To Disable Reverse Proxy Server:
/usr/local/psa/admin/sbin/nginxmng -d
You can click for our high-performance virtual servers.
Can't find the information you're looking for?
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket-
How to Open Ports in Windows?
207 2
-
How to Grant Windows Administrator Privileges?
184 0
-
How to install Webmin on Ubuntu?
803 2
-
Linux SSH Terminal Commands and Explanations
682 3
-
CentOS Stream 10 Update Commands
768 1
-
CentOS Stream 9 Update Commands
1112 1
-
CentOS Stream 8 Update Commands
621 0
-
What is FreeBSD?
765 2
-
Out: 452 4.3.1 Insufficient system storage
708 2
-
Turning Off Automatic Updates in Windows Operating Systems
822 0