This commit is contained in:
张威33321
2026-09-08 17:33:06 +08:00
parent 774cae3c02
commit 538dc1339d

17
nginx/conf.d/www.conf Normal file
View File

@@ -0,0 +1,17 @@
server {
listen 80;
server_name www.stonelan.cn;
location / {
proxy_pass http://10.0.3.173:8080;
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_set_header X-Forwarded-Proto $scheme;
# 添加代理超时配置
proxy_connect_timeout 60s;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
}
}