diff --git a/Docker---Traefik---ModSecurity-Setup.md b/Docker---Traefik---ModSecurity-Setup.md index e2a8797..c4d9918 100644 --- a/Docker---Traefik---ModSecurity-Setup.md +++ b/Docker---Traefik---ModSecurity-Setup.md @@ -56,20 +56,22 @@ services: - traefik.enable=true - traefik.http.middlewares.redirect-https.redirectScheme.scheme=https - traefik.http.middlewares.redirect-https.redirectScheme.permanent=true - - traefik.http.routers.vw-ui-https.rule=Host(`sub.domain.tld`) + - traefik.http.routers.vw-ui-https.rule=Host(`ui-sub.domain.tld`) - traefik.http.routers.vw-ui-https.entrypoints=websecure - traefik.http.routers.vw-ui-https.tls=true + - traefik.http.routers.vw-ui-https.tls.certresolver=myresolver - traefik.http.routers.vw-ui-https.service=vw-ui - - traefik.http.routers.vw-ui-http.rule=Host(`sub.domain.tld`) + - traefik.http.routers.vw-ui-http.rule=Host(`ui-sub.domain.tld`) - traefik.http.routers.vw-ui-http.entrypoints=web - traefik.http.routers.vw-ui-http.middlewares=redirect-https - traefik.http.routers.vw-ui-http.service=vw-ui - traefik.http.services.vw-ui.loadbalancer.server.port=80 - - traefik.http.routers.vw-websocket-https.rule=Host(`sub.domain.tld`) && Path(`/notifications/hub`) + - traefik.http.routers.vw-websocket-https.rule=Host(`websocket-sub.domain.tld`) && Path(`/notifications/hub`) - traefik.http.routers.vw-websocket-https.entrypoints=websecure - traefik.http.routers.vw-websocket-https.tls=true + - traefik.http.routers.vw-websocket-https.tls.certresolver=myresolver - traefik.http.routers.vw-websocket-https.service=vw-websocket - - traefik.http.routers.vw-websocket-http.rule=Host(`sub.domain.tld`) && Path(`/notifications/hub`) + - traefik.http.routers.vw-websocket-http.rule=Host(`websocket-sub.domain.tld`) && Path(`/notifications/hub`) - traefik.http.routers.vw-websocket-http.entrypoints=web - traefik.http.routers.vw-websocket-http.middlewares=redirect-https - traefik.http.routers.vw-websocket-http.service=vw-websocket