location ~* ((service-worker)\.js)$ { add_header 'Cache-Control' 'no-store'; expires off; proxy_no_cache 1; }