From 538dc1339d39e669eb60eb2d1a469807867f9820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=A8=8133321?= <33321@sangfor.com> Date: Tue, 8 Sep 2026 17:33:06 +0800 Subject: [PATCH] 0908 --- nginx/conf.d/www.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nginx/conf.d/www.conf diff --git a/nginx/conf.d/www.conf b/nginx/conf.d/www.conf new file mode 100644 index 0000000..e3d3613 --- /dev/null +++ b/nginx/conf.d/www.conf @@ -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; + } +}