Skip to content

Commit b92ba4c

Browse files
committed
feat: Update Dockerfile and nginx.conf for improved dist directory handling
1 parent 75e449f commit b92ba4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vite-project/nginx.conf

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ http {
1818
location / {
1919
root /usr/share/nginx/html;
2020
index index.html index.htm;
21+
try_files $uri $uri/ /index.html;
2122
}
2223
error_page 500 502 503 504 /50x.html;
2324
location = /50x.html {

0 commit comments

Comments
 (0)