Skip to content
Snippets Groups Projects
Unverified Commit 53817294 authored by keiya's avatar keiya Committed by GitHub
Browse files

Fix nginx location matching (#20198)

parent dd7176a4
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ server {
# If Docker is used for deployment and Rails serves static files,
# then needed must replace line `try_files $uri =404;` with `try_files $uri @proxy;`.
location = sw.js {
location = /sw.js {
add_header Cache-Control "public, max-age=604800, must-revalidate";
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains";
try_files $uri =404;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment