Hi,
I have been trying to figure out what is causing random 504 errors on my server.
I have been able to replicate the error by opening more than 1 http connection at a time. If I open 2 connections at the same time, the first connection will receive data but all other connections will receive a 504 error.
I think I need to add the NGINX directives
location / {
proxy_http_version 1.1;
proxy_set_header Connection "";
}
When I try to place this line of code in the Additional NGINX directives, it tells me
Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/system/domain.com/conf/vhost_nginx.conf:13 nginx: configuration file /etc/nginx/nginx.conf test failed
Looking through nginx files, I see many of them say
# ATTENTION!
# DO NOT MODIFY...
How can I set my proxy_http_version variable correctly with Plesk not overriding the setting?
I have been trying to figure out what is causing random 504 errors on my server.
I have been able to replicate the error by opening more than 1 http connection at a time. If I open 2 connections at the same time, the first connection will receive data but all other connections will receive a 504 error.
I think I need to add the NGINX directives
location / {
proxy_http_version 1.1;
proxy_set_header Connection "";
}
When I try to place this line of code in the Additional NGINX directives, it tells me
Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/system/domain.com/conf/vhost_nginx.conf:13 nginx: configuration file /etc/nginx/nginx.conf test failed
Looking through nginx files, I see many of them say
# ATTENTION!
# DO NOT MODIFY...
How can I set my proxy_http_version variable correctly with Plesk not overriding the setting?