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' '*';
}  

二、

 

posted @ 2018-11-22 01:19  arun_yh  阅读(1269)  评论(0编辑  收藏  举报