034_nginx报错总结

一、nginx: [emerg] "client_header_timeout" directive is not allowed here in /opt/nginx/conf/vhost.d/newton-api.uuwatch.com.conf:24

location  / {    
    client_body_timeout 5s;
    client_header_timeout 3s;    #配置参数报错
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_http_version 1.1;
    proxy_set_header Connection "";
    proxy_set_header Host newton-api.ele.me;
    add_header 'Access-Control-Allow-Origin' '*';
}  

二、

原文地址:https://www.cnblogs.com/itcomputer/p/9998856.html