fix echart

This commit is contained in:
Mateusz Gruszczyński
2026-03-26 10:30:29 +01:00
parent bacf4ce8be
commit 6db6d2822e

View File

@@ -19,9 +19,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate" always; add_header Cache-Control "no-store, no-cache" always;
add_header Pragma "no-cache" always;
add_header Expires "0" always;
} }
location = /health { location = /health {
@@ -31,22 +29,16 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate" always; add_header Cache-Control "no-store, no-cache" always;
add_header Pragma "no-cache" always;
add_header Expires "0" always;
} }
location = /index.html { location = /index.html {
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate" always; add_header Cache-Control "no-store, no-cache" always;
add_header Pragma "no-cache" always;
add_header Expires "0" always;
try_files $uri =404; try_files $uri =404;
} }
location / { location / {
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate" always; add_header Cache-Control "no-store, no-cache" always;
add_header Pragma "no-cache" always;
add_header Expires "0" always;
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
} }
} }