• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

nginx: [emerg] "proxy_read_timeout"

seeweb

New Pleskian
Hello

I have a problème when i changer php configuration.

nginx: [emerg] "proxy_read_timeout" directive is duplicate in /var/www/vhosts/system/******/conf/vhost_nginx.conf:3 nginx: configuration file /etc/nginx/nginx.conf test failed

Thanks for your Help

@+
 
On my test Plesk 12.5 server no option proxy_read_timeout in /etc/nginx/nginx.conf by default:

# grep proxy_read_timeout /etc/nginx/nginx.conf

Just try to remove it.
 
Thanks for your answer.

I try but it's the same.

my file /etc/nginx/nginx.conf :

#user nginx;
worker_processes 1;

#error_log /var/log/nginx/error.log;
#error_log /var/log/nginx/error.log notice;
#error_log /var/log/nginx/error.log info;

#pid /var/run/nginx.pid;


events {
worker_connections 1024;
}


http {
include mime.types;
default_type application/octet-stream;

#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';

#access_log /var/log/nginx/access.log main;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;
#tcp_nodelay on;

#gzip on;
#gzip_disable "MSIE [1-6]\.(?!.*SV1)";

server_tokens off;

include /etc/nginx/conf.d/*.conf;
}

# override global parameters e.g. worker_rlimit_nofile
include /etc/nginx/*global_params;


Thanks
 
What is your Plesk version?
Have you tried

# plesk repair web

if you have 12.5 version?
 
Remove this option from line 3 in /var/www/vhosts/system/******/conf/vhost_nginx.conf file.
 
nginx: [emerg] "proxy_read_timeout" directive is duplicate in /var/www/vhosts/system/ghz-service.it/conf/vhost_nginx.conf:3 nginx: configuration file /etc/nginx/nginx.conf test failed

Hello
I have the same problem. you could explain to me how you solved?
thank you
 
Back
Top