Skip to content

Commit

Permalink
set default root
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc23007 committed Nov 17, 2024
1 parent 18ac60b commit e2d1eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ server {
# react app specific
location / {
root /usr/share/nginx/html;
try_files $uri $uri/ =404;
try_files $uri /index.html;
}
}

0 comments on commit e2d1eb6

Please sign in to comment.