Working log in/route guard

This commit is contained in:
2025-09-04 08:03:24 -04:00
parent 992a1a217d
commit dc1ee95827
37 changed files with 1283 additions and 1191 deletions

View File

@@ -1,9 +1,16 @@
# This config is for the Nginx server INSIDE the frontend container
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html index.htm;
location / {
try_files $uri $uri/ /index.html;
}
listen 80;
# The location of the static files built by Vue
root /usr/share/nginx/html;
index index.html;
# This is the magic for Single-Page Applications (SPAs)
# It makes sure that if you refresh the page on a route like /customers/123,
# Nginx serves index.html instead of looking for a file named '123'.
location / {
try_files $uri $uri/ /index.html;
}
}