fix: OpenRemote Traefik + GeoServer CORS + Keycloak route
This commit is contained in:
@@ -8,60 +8,25 @@ http:
|
||||
certResolver: letsencrypt
|
||||
priority: 100
|
||||
middlewares:
|
||||
- mapstore-home-redirect
|
||||
service: mapstore-root-redirect
|
||||
- mapstore-replace-path
|
||||
service: mapstore-proxy-service
|
||||
|
||||
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:
|
||||
mapstore-all:
|
||||
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
|
||||
service: mapstore-proxy-service
|
||||
|
||||
middlewares:
|
||||
mapstore-home-redirect:
|
||||
redirectRegex:
|
||||
regex: "^https://mapstore.digitribe.fr/$"
|
||||
replacement: "https://mapstore.digitribe.fr/mapstore/"
|
||||
permanent: true
|
||||
mapstore-replace-path:
|
||||
replacePath:
|
||||
path: "/mapstore/"
|
||||
|
||||
services:
|
||||
mapstore-root-redirect:
|
||||
mapstore-proxy-service:
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user