Update proxy rules bc bagheera is down

This commit is contained in:
thopic 2022-04-19 17:38:40 +02:00
parent 2873ad0cf0
commit 40da8806b9
Signed by: thopic
GPG Key ID: 292DBBF0B54AD4C5

View File

@ -18,18 +18,18 @@ services:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.middlewares.apache-redirect-websecure.redirectscheme.scheme=https" - "traefik.http.middlewares.apache-redirect-websecure.redirectscheme.scheme=https"
- "traefik.http.routers.apache-http.middlewares=apache-redirect-websecure" - "traefik.http.routers.apache-http.middlewares=apache-redirect-websecure"
- "traefik.http.routers.apache-http.rule=Host(`${CN}`, `${SAN1}`)" - "traefik.http.routers.apache-http.rule=Host(`${CN}`, `${SAN1}`, `${TRAVAUXCN}`)"
- "traefik.http.routers.apache-http.entrypoints=web" - "traefik.http.routers.apache-http.entrypoints=web"
- "traefik.http.routers.apache-https.rule=Host(`${CN}`, `${SAN1}`)" - "traefik.http.routers.apache-https.rule=Host(`${CN}`, `${SAN1}`, `${TRAVAUXCN}`)"
- "traefik.http.routers.apache-https.entrypoints=websecure" - "traefik.http.routers.apache-https.entrypoints=websecure"
- "traefik.http.routers.apache-https.middlewares=apache-redirectregex" - "traefik.http.routers.apache-https.middlewares=apache-redirectregex"
- "traefik.http.routers.apache-https.tls=true" - "traefik.http.routers.apache-https.tls=true"
- "traefik.http.routers.apache-https.tls.certresolver=myhttpchallenge" - "traefik.http.routers.apache-https.tls.certresolver=myhttpchallenge"
- "traefik.http.middlewares.apache-redirectregex.redirectregex.regex=^https://${SAN1}/(.*)" - "traefik.http.middlewares.apache-redirectregex.redirectregex.regex=^https://${SAN1}/(.*)"
- "traefik.http.middlewares.apache-redirectregex.redirectregex.replacement=https://${CN}/$${1}" - "traefik.http.middlewares.apache-redirectregex.redirectregex.replacement=https://${CN}/$${1}"
# - "traefik.http.middlewares.apache-travaux.redirectregex.regex=^https://${TRAVAUXCN}/" - "traefik.http.middlewares.apache-travaux.redirectregex.regex=^https://${TRAVAUXCN}/"
# - "traefik.http.middlewares.apache-travaux.redirectregex.replacement=https://${CN}/travaux.php" - "traefik.http.middlewares.apache-travaux.redirectregex.replacement=https://${CN}/travaux.php"
# - "traefik.http.routers.apache-https.middlewares=apache-redirectregex,apache-travaux" - "traefik.http.routers.apache-https.middlewares=apache-redirectregex,apache-travaux"
- "co.elastic.logs/module=apache" - "co.elastic.logs/module=apache"
- "co.elastic.logs/fileset=access" - "co.elastic.logs/fileset=access"