Browse Source

Fix nginx location matching (#20198)

closed-social-glitch-2
keiya 1 year ago
committed by GitHub
parent
commit
53817294fc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dist/nginx.conf

+ 1
- 1
dist/nginx.conf View File

@ -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;

Loading…
Cancel
Save