diff --git a/nginx.conf b/nginx.conf index ebf5e8de70d..1e21a8673ae 100644 --- a/nginx.conf +++ b/nginx.conf @@ -30,6 +30,9 @@ http { add_header 'Content-Length' 0; return 204; } + if ($request_filename ~* ^.*?.(html|htm|js)$) { + add_header Cache-Control no-cache; + } } } }