chore: complete infrastructure config, contracts, reference images and ui redesign artifacts

This commit is contained in:
Codex
2026-09-14 10:02:34 +08:00
parent 63cbbff2de
commit ea2bb2439d
32 changed files with 88 additions and 17 deletions
+13 -11
View File
@@ -38,6 +38,10 @@ http {
server backend:8080;
}
upstream admin_web {
server admin-web:80;
}
server {
listen 80;
server_name localhost;
@@ -59,6 +63,8 @@ http {
proxy_connect_timeout 30s;
proxy_send_timeout 60s;
proxy_read_timeout 60s;
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
add_header Pragma "no-cache";
}
# WebSocket proxy
@@ -84,17 +90,13 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
}
# Admin web static files
location /admin/ {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /admin/index.html;
}
# Don't cache API responses
location /api/ {
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
add_header Pragma "no-cache";
# Admin web
location / {
proxy_pass http://admin_web;
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;
}
}
}