Harden LandSAR cluster transfer e2e

This commit is contained in:
2026-06-27 01:20:06 +08:00
parent 40178ad1a4
commit 19ae3ec37f
7 changed files with 629 additions and 153 deletions
+15
View File
@@ -66,6 +66,21 @@ http {
try_files $uri $uri/ /index.html;
}
location /api/cluster/ {
proxy_pass http://127.0.0.1:18000;
proxy_http_version 1.1;
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;
client_max_body_size 64g;
proxy_request_buffering off;
proxy_buffering off;
proxy_read_timeout 7200s;
proxy_send_timeout 7200s;
send_timeout 7200s;
}
location /api/ {
proxy_pass http://127.0.0.1:18000;
proxy_http_version 1.1;