2026-04-15-2 dashboard convert to html without vite and react

This commit is contained in:
Hamza-Ayed
2026-04-15 15:41:05 +03:00
parent 3802af0651
commit f1f1818501
13 changed files with 5126 additions and 220 deletions
@@ -0,0 +1,30 @@
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
# Proxy API requests to the api service in docker
location /api/ {
proxy_pass http://api:3200/api/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
# Proxy Martin Vector Tiles (if accessed via dashboard directly)
location /tiles/ {
proxy_pass http://martin:3000/;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}