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

二、

上一篇:上传本地代码到github


下一篇:php 分页类