19,613
社区成员
发帖
与我相关
我的任务
分享
location /api {
root html;
proxy_pass http://x.x.x.x:8080/api;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 500s;
proxy_read_timeout 500s;
proxy_send_timeout 6s;
client_max_body_size 100m;
index index.html index.htm;
}