• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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