Tiananlin patch 1 #1

Merged
tiananlin merged 9 commits from tiananlin-patch-1 into master 2026-09-15 11:43:12 +08:00
Showing only changes of commit 8d4bee03e8 - Show all commits
+27
View File
@@ -0,0 +1,27 @@
server {
listen 80;
server_name localhost;
client_max_body_size 100m;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://onboardx-api-svc:5566/;
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;
proxy_connect_timeout 60s;
proxy_read_timeout 300s;
proxy_send_timeout 300s;
}
}