map-frontend: fix nginx config mount (dir instead of file)

This commit is contained in:
2026-03-13 14:14:55 +00:00
parent ef1d136a3e
commit cd232d93ac
2 changed files with 1 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
server {
listen 80;
# Proxy tile requests to the internal pmtiles server
location /tiles/ {
proxy_pass http://pmtiles:8080/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
# Serve the static frontend
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ =404;
}
}