mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +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.docker.network=reverse-proxy"
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
### <http> ###
|
### <http> ###
|
||||||
- "traefik.http.middlewares.nopaque-header.headers.customrequestheaders.X-Forwarded-Proto=http"
|
- "traefik.http.middlewares.http-nopaque-headers.headers.customrequestheaders.X-Forwarded-Proto=http"
|
||||||
- "traefik.http.routers.nopaque.entrypoints=web"
|
- "traefik.http.routers.http-nopaque.entrypoints=http"
|
||||||
- "traefik.http.routers.nopaque.middlewares=nopaque-header, redirect-to-https@file"
|
- "traefik.http.routers.http-nopaque.middlewares=http_nopaque-headers, redirect-to-https@file"
|
||||||
- "traefik.http.routers.nopaque.rule=Host(`${SERVER_NAME}`)"
|
- "traefik.http.routers.http-nopaque.rule=Host(`${SERVER_NAME}`)"
|
||||||
### </http> ###
|
### </http> ###
|
||||||
### <https> ###
|
### <https> ###
|
||||||
- "traefik.http.middlewares.nopaque-secure-header.headers.customrequestheaders.X-Forwarded-Proto=https"
|
- "traefik.http.middlewares.https-nopaque-headers.headers.customrequestheaders.X-Forwarded-Proto=https"
|
||||||
- "traefik.http.routers.nopaque-secure.entrypoints=web-secure"
|
- "traefik.http.routers.https-nopaque.entrypoints=https"
|
||||||
- "traefik.http.routers.nopaque-secure.middlewares=hsts-header@file, nopaque-secure-header"
|
- "traefik.http.routers.https-nopaque.middlewares=hsts-header@file, https-nopaque-headers"
|
||||||
- "traefik.http.routers.nopaque-secure.rule=Host(`${SERVER_NAME}`)"
|
- "traefik.http.routers.https-nopaque.rule=Host(`${SERVER_NAME}`)"
|
||||||
- "traefik.http.routers.nopaque-secure.tls.certresolver=<CERTRESOLVER>"
|
- "traefik.http.routers.https-nopaque.tls.certresolver=<CERTRESOLVER>"
|
||||||
- "traefik.http.routers.nopaque-secure.tls.options=intermediate@file"
|
- "traefik.http.routers.https-nopaque.tls.options=intermediate@file"
|
||||||
### </https> ###
|
### </https> ###
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
Loading…
Reference in New Issue
Block a user