FIX: MapStore static files + Pulsar Manager Traefik config
This commit is contained in:
67
dynamic/16-mapstore.yml
Normal file
67
dynamic/16-mapstore.yml
Normal 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"
|
||||||
13
dynamic/21-pulsar.yml
Normal file
13
dynamic/21-pulsar.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
http:
|
||||||
|
routers:
|
||||||
|
pulsar-manager:
|
||||||
|
rule: "Host(`pulsar.digitribe.fr`)"
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
tls: true
|
||||||
|
service: pulsar-manager-svc
|
||||||
|
services:
|
||||||
|
pulsar-manager-svc:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://smart-city-pulsar-manager:9527"
|
||||||
Reference in New Issue
Block a user