Files
dashboard/frontend/nginx.conf
jafreli 49e118b09c
Some checks failed
Build and Push Docker Images / build-and-push-backend (push) Failing after 1m28s
Build and Push Docker Images / build-and-push-frontend (push) Failing after 25s
Docker and Workflow
2026-01-31 00:45:48 +01:00

17 lines
412 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
# Path to the root of our single-page application
root /usr/share/nginx/html;
index index.html;
location / {
# First, try to serve the requested file ($uri),
# then a directory ($uri/),
# and if that fails, fall back to serving index.html.
# This is the key for making client-side routing work.
try_files $uri $uri/ /index.html;
}
}