diff --git a/docker/nocobase/nocobase.conf b/docker/nocobase/nocobase.conf index 1f1eb0705..0279113cf 100644 --- a/docker/nocobase/nocobase.conf +++ b/docker/nocobase/nocobase.conf @@ -13,12 +13,19 @@ server { location /storage/uploads/ { alias /app/nocobase/storage/uploads/; + add_header Cache-Control "public"; + access_log off; autoindex off; } location / { root /app/nocobase/packages/app/client/dist; try_files $uri $uri/ /index.html; + add_header Last-Modified $date_gmt; + add_header Cache-Control 'no-store, no-cache'; + if_modified_since off; + expires off; + etag off; } location ^~ /api/ {