Build advertiser console with scoped page URLs and runner-based deployment tests
Advertiser console CI and test deployment / build-deploy (push) Has been cancelled

This commit is contained in:
2026-09-16 15:00:52 +08:00
parent 0f8d3ddbf5
commit d64eb72ff2
18 changed files with 3331 additions and 130 deletions
+18
View File
@@ -0,0 +1,18 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
add_header X-Content-Type-Options nosniff always;
add_header X-Frame-Options DENY always;
add_header Referrer-Policy strict-origin-when-cross-origin always;
location = /healthz { access_log off; return 200 'ok'; }
location /v1/advertiser/ {
proxy_pass ${API_UPSTREAM};
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 30s;
add_header Cache-Control "no-store" always;
}
location /assets/ { try_files $uri =404; expires 1y; add_header Cache-Control "public, immutable"; }
location / { try_files $uri $uri/ /index.html; add_header Cache-Control "no-cache"; }
}