nginx 上传超时配置

发布于 2017-04-03  225 次阅读


location /v1/skr/report/import {
    proxy_pass   http://127.0.0.1:8080/v1/skr/report/import;
    keepalive_timeout   650;
    proxy_connect_timeout 500s;
    proxy_read_timeout 3000s;
    proxy_send_timeout 500s;
    proxy_set_header        X-Real-IP $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header        Host $http_host;
}

梦想还是要有的,万一实现了呢