Merge pull request #1814 from appwrite/fix-disable-cache-on-service-worker

fix: disable cache for service-worker.js
This commit is contained in:
Torsten Dittmann
2025-04-22 17:54:50 +02:00
committed by GitHub
+5
View File
@@ -10,6 +10,11 @@ server {
# serve compressed file if filename.gz exists
gzip_static on;
location = /console/service-worker.js {
root /usr/share/nginx/html;
add_header Cache-Control "public, max-age=30" always;
}
location /console {
root /usr/share/nginx/html;
index index.html index.htm;