• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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