fix: clear stale chat tool notice and cache entry page

This commit is contained in:
2026-09-27 13:15:23 +08:00
parent 147ac5392c
commit 52e06a0444
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -3,6 +3,12 @@ server {
root /usr/share/nginx/html;
index index.html;
location = /health { add_header Content-Type text/plain; return 200 'ok'; }
location = /index.html {
add_header Cache-Control "no-store, max-age=0" always;
}
location /assets/ {
add_header Cache-Control "public, max-age=31536000, immutable" always;
}
location /api/ { proxy_pass http://api:8000; proxy_set_header Host $host; client_max_body_size 1m; }
location ~ ^/api/conversations/[0-9]+/(messages|runs/[0-9]+/events)$ {
proxy_pass http://api:8000;