Skip to content

Commit

Permalink
fix(nginx-pwa): rename PWA config template and move try_files directi…
Browse files Browse the repository at this point in the history
…ve to root configuration
  • Loading branch information
AliMD committed Nov 10, 2024
1 parent f03caba commit a26872a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
location ~ /(config\.js|service-worker\.js|manifest\.webmanifest)$ {
expires epoch;
}

location / {
try_files $uri /index.html =404;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
try_files $uri /index.html =404;

0 comments on commit a26872a

Please sign in to comment.