diff --git a/nginx.conf b/nginx.conf index 40b9650..ff4e939 100644 --- a/nginx.conf +++ b/nginx.conf @@ -8,6 +8,13 @@ server { try_files $uri $uri/ /index.html; } + location /env.js { + root /usr/share/nginx/html; + default_type application/javascript; + expires -1; + add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; + } + error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html;