docker files updated
This commit is contained in:
15
app/nginx.conf
Normal file
15
app/nginx.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
# Point to the Vite build output directory
|
||||
root /usr/share/nginx/html/dist;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
|
||||
# Redirect 404 errors to index.html (for React Router)
|
||||
error_page 404 /index.html;
|
||||
}
|
||||
Reference in New Issue
Block a user