From d92c2234588451a035dc9cfcfec0da28b1c262dc Mon Sep 17 00:00:00 2001 From: ChengLei Shao Date: Sun, 28 Apr 2024 12:12:48 +0800 Subject: [PATCH] chore: api cache control header (#4203) * chore: api cache control header * chore: api cache control header --- packages/core/cli/nocobase.conf.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/cli/nocobase.conf.tpl b/packages/core/cli/nocobase.conf.tpl index 71a9e1f6e..97d536287 100644 --- a/packages/core/cli/nocobase.conf.tpl +++ b/packages/core/cli/nocobase.conf.tpl @@ -50,6 +50,7 @@ server { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; + add_header Cache-Control 'no-cache, no-store'; proxy_cache_bypass $http_upgrade; proxy_connect_timeout 600; proxy_send_timeout 600;