chore: api cache control header (#4203)

* chore: api cache control header

* chore: api cache control header
This commit is contained in:
ChengLei Shao 2024-04-28 12:12:48 +08:00 committed by GitHub
parent 08f68720bf
commit d92c223458
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,6 +50,7 @@ server {
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade'; proxy_set_header Connection 'upgrade';
proxy_set_header Host $host; proxy_set_header Host $host;
add_header Cache-Control 'no-cache, no-store';
proxy_cache_bypass $http_upgrade; proxy_cache_bypass $http_upgrade;
proxy_connect_timeout 600; proxy_connect_timeout 600;
proxy_send_timeout 600; proxy_send_timeout 600;