This commit is contained in:
wsl-d4
2025-10-22 09:35:58 +08:00
parent 722e15b458
commit 144ed3cbdf
9 changed files with 672 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ http {
client_max_body_size 5m;
location / {
proxy_pass http://127.0.0.1:3003;
proxy_pass http://10.0.3.14:3003;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -84,7 +84,7 @@ http {
location / {
proxy_pass http://127.0.0.1:3004;
proxy_pass http://10.0.3.14:3004;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -99,7 +99,7 @@ http {
server {
listen 80;
server_name gitea.deepseak.icu;
client_max_body_size 200m;
location / {
proxy_pass http://10.0.3.14:3002;
# 添加代理超时配置
@@ -115,7 +115,7 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
}
client_max_body_size 50m;
}
# 增加一个空的server用于申请证书