From 3c8809b2c891dd00d3708d8efeea820bb40f8657 Mon Sep 17 00:00:00 2001 From: eleaner Date: Mon, 19 Dec 2022 13:04:34 +0000 Subject: [PATCH] Updated Docker Traefik ModSecurity Setup (markdown) --- Docker---Traefik---ModSecurity-Setup.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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