mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Add neccessary header to docker-compose.traefik.yml.
This commit is contained in:
parent
e7ff3984b5
commit
4e9701b796
@ -14,13 +14,15 @@ 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.routers.nopaque.entrypoints=web"
|
- "traefik.http.routers.nopaque.entrypoints=web"
|
||||||
- "traefik.http.routers.nopaque.middlewares=redirect-to-https@file"
|
- "traefik.http.routers.nopaque.middlewares=nopaque-header, redirect-to-https@file"
|
||||||
- "traefik.http.routers.nopaque.rule=Host(`${NOPAQUE_DOMAIN:-localhost}`)"
|
- "traefik.http.routers.nopaque.rule=Host(`${NOPAQUE_DOMAIN:-localhost}`)"
|
||||||
### </http> ###
|
### </http> ###
|
||||||
### <https> ###
|
### <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.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.nopaque-secure.middlewares=hsts-header@file"
|
- "traefik.http.routers.nopaque-secure.middlewares=hsts-header@file, nopaque-secure-header"
|
||||||
- "traefik.http.routers.nopaque-secure.rule=Host(`${NOPAQUE_DOMAIN:-localhost}`)"
|
- "traefik.http.routers.nopaque-secure.rule=Host(`${NOPAQUE_DOMAIN:-localhost}`)"
|
||||||
- "traefik.http.routers.nopaque-secure.tls.certresolver=<CERTRESOLVER>"
|
- "traefik.http.routers.nopaque-secure.tls.certresolver=<CERTRESOLVER>"
|
||||||
- "traefik.http.routers.nopaque-secure.tls.options=intermediate@file"
|
- "traefik.http.routers.nopaque-secure.tls.options=intermediate@file"
|
||||||
|
Loading…
Reference in New Issue
Block a user