chore: 增加隔离的本地Docker测试编排

This commit is contained in:
Nixevol
2026-09-20 01:39:18 +08:00
parent ca2c7fd7ac
commit 3a6dfd7f24
4 changed files with 133 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
server {
listen 80;
server_name localhost;
client_max_body_size 0;
location / {
proxy_pass http://api:3000;
proxy_http_version 1.1;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
proxy_request_buffering off;
proxy_set_header Host $http_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_set_header X-Forwarded-Host $http_host;
}
}