Skip to content

Commit

Permalink
update nginx config to do the right SPA thing
Browse files Browse the repository at this point in the history
  • Loading branch information
eritbh committed Aug 23, 2023
1 parent db37c45 commit 797b2ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ http {
server_tokens off;

root /static;
index index.html;
try_files $uri $uri/ /index.html;
gzip_static on;
}
}

0 comments on commit 797b2ce

Please sign in to comment.