mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Change docker-compose traefik config to match new development toolbox
This commit is contained in:
parent
4988e5e9a6
commit
b43ec14424
@ -15,18 +15,18 @@ services:
|
||||
- "traefik.docker.network=reverse-proxy"
|
||||
- "traefik.enable=true"
|
||||
### <http> ###
|
||||
- "traefik.http.middlewares.nopaque-header.headers.customrequestheaders.X-Forwarded-Proto=http"
|
||||
- "traefik.http.routers.nopaque.entrypoints=web"
|
||||
- "traefik.http.routers.nopaque.middlewares=nopaque-header, redirect-to-https@file"
|
||||
- "traefik.http.routers.nopaque.rule=Host(`${SERVER_NAME}`)"
|
||||
- "traefik.http.middlewares.http-nopaque-headers.headers.customrequestheaders.X-Forwarded-Proto=http"
|
||||
- "traefik.http.routers.http-nopaque.entrypoints=http"
|
||||
- "traefik.http.routers.http-nopaque.middlewares=http_nopaque-headers, redirect-to-https@file"
|
||||
- "traefik.http.routers.http-nopaque.rule=Host(`${SERVER_NAME}`)"
|
||||
### </http> ###
|
||||
### <https> ###
|
||||
- "traefik.http.middlewares.nopaque-secure-header.headers.customrequestheaders.X-Forwarded-Proto=https"
|
||||
- "traefik.http.routers.nopaque-secure.entrypoints=web-secure"
|
||||
- "traefik.http.routers.nopaque-secure.middlewares=hsts-header@file, nopaque-secure-header"
|
||||
- "traefik.http.routers.nopaque-secure.rule=Host(`${SERVER_NAME}`)"
|
||||
- "traefik.http.routers.nopaque-secure.tls.certresolver=<CERTRESOLVER>"
|
||||
- "traefik.http.routers.nopaque-secure.tls.options=intermediate@file"
|
||||
- "traefik.http.middlewares.https-nopaque-headers.headers.customrequestheaders.X-Forwarded-Proto=https"
|
||||
- "traefik.http.routers.https-nopaque.entrypoints=https"
|
||||
- "traefik.http.routers.https-nopaque.middlewares=hsts-header@file, https-nopaque-headers"
|
||||
- "traefik.http.routers.https-nopaque.rule=Host(`${SERVER_NAME}`)"
|
||||
- "traefik.http.routers.https-nopaque.tls.certresolver=<CERTRESOLVER>"
|
||||
- "traefik.http.routers.https-nopaque.tls.options=intermediate@file"
|
||||
### </https> ###
|
||||
networks:
|
||||
- default
|
||||
|
Loading…
Reference in New Issue
Block a user