Add slug support and new admin features

This commit is contained in:
Tomas Dvorak
2026-03-14 10:40:04 +01:00
parent 4773e4cab1
commit 21574a8b30
31 changed files with 37490 additions and 36033 deletions
+23 -23
View File
@@ -1,23 +1,23 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Serve static assets
location / {
try_files $uri $uri/ /index.html;
}
# Proxy data API to backend
location /data/ {
proxy_pass http://backend:8080/data/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
add_header Access-Control-Allow-Origin *;
}
location /healthz {
proxy_pass http://backend:8080/healthz;
}
}
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Serve static assets
location / {
try_files $uri $uri/ /index.html;
}
# Proxy data API to backend
location /data/ {
proxy_pass http://backend:8080/data/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
add_header Access-Control-Allow-Origin *;
}
location /healthz {
proxy_pass http://backend:8080/healthz;
}
}