mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
user managment ui
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
# The user-management module is a self-contained SPA built into /_um. Deep links
|
||||
# / refreshes under /_um must fall back to the MODULE's own index.html, not the
|
||||
# host's. Longest-prefix match wins, so this takes precedence over `location /`.
|
||||
# Mirrors the dev SPA-fallback plugin in apps/backoffice/vite.config.mts.
|
||||
location /_um/ {
|
||||
try_files $uri $uri/ /_um/index.html;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
gzip on;
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user