FIX: MapStore static files + Pulsar Manager Traefik config

This commit is contained in:
Eric
2026-05-07 12:13:44 -04:00
parent b1155458d3
commit 37d6c25070
2 changed files with 80 additions and 0 deletions

67
dynamic/16-mapstore.yml Normal file
View File

@@ -0,0 +1,67 @@
http:
routers:
mapstore-root:
rule: "Host(`mapstore.digitribe.fr`) && Path(`/`)"
entryPoints:
- websecure
tls:
certResolver: letsencrypt
priority: 100
middlewares:
- mapstore-home-redirect
service: mapstore-root-redirect
mapstore-static:
rule: "Host(`mapstore.digitribe.fr`) && (PathPrefix(`/mapstore/dist/`) || PathPrefix(`/mapstore/static/`) || PathPrefix(`/mapstore/translations/`) || PathPrefix(`/mapstore/jsp/`) || Path(`/mapstore/favicon.png`) || Path(`/mapstore/favicon.ico`))"
entryPoints:
- websecure
tls:
certResolver: letsencrypt
priority: 300
service: mapstore-app-direct
mapstore-app:
rule: "Host(`mapstore.digitribe.fr`)"
entryPoints:
- websecure
tls:
certResolver: letsencrypt
priority: 200
service: mapstore
mapstore-geoserver:
rule: "Host(`mapstore.digitribe.fr`) && PathPrefix(`/geoserver`)"
entryPoints:
- websecure
tls:
certResolver: letsencrypt
priority: 150
service: mapstore-geoserver-backend
middlewares:
mapstore-home-redirect:
redirectRegex:
regex: "^https://mapstore.digitribe.fr/$"
replacement: "https://mapstore.digitribe.fr/mapstore/"
permanent: true
services:
mapstore-root-redirect:
loadBalancer:
servers:
- url: "http://mapstore-proxy:80"
mapstore:
loadBalancer:
servers:
- url: "http://mapstore-proxy:80"
mapstore-app-direct:
loadBalancer:
servers:
- url: "http://mapstore-app:8080"
mapstore-geoserver-backend:
loadBalancer:
servers:
- url: "http://172.29.0.8:8080"