From 9d893db40328c5db8d07c7a443617e2815f2a8bc Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 26 May 2020 15:39:46 +0200 Subject: [PATCH] update --- docker-compose.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5f49548d..7a56c7cd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,21 +19,23 @@ services: - "traefik.docker.network=reverse-proxy" - "traefik.enable=true" ### ### - - "traefik.http.middlewares.nopaque.headers.customrequestheaders.X-Forwarded-Proto=http" + - "traefik.http.middlewares.nopaque-headers.headers.customrequestheaders.X-Forwarded-Proto=http" - "traefik.http.routers.nopaque.entrypoints=web" - - "traefik.http.routers.nopaque.middlewares=nopaque@docker" + - "traefik.http.routers.nopaque.middlewares=nopaque-headers" - "traefik.http.routers.nopaque.rule=Host(`nopaque.localhost`)" # Change this to match your nopaque domain ### ### ### ### - - "traefik.http.middlewares.nopaquesecure.headers.customrequestheaders.X-Forwarded-Proto=https" + - "traefik.http.middlewares.nopaquesecure-headers.headers.customrequestheaders.X-Forwarded-Proto=https" - "traefik.http.routers.nopaquesecure.entrypoints=websecure" - - "traefik.http.routers.nopaquesecure.middlewares=nopaquesecure@docker" + - "traefik.http.routers.nopaquesecure.middlewares=nopaquesecure-headers" - "traefik.http.routers.nopaquesecure.rule=Host(`nopaque.localhost`)" # Change this to match your nopaque domain - "traefik.http.routers.nopaquesecure.tls=true" ### ### ### ### - # - "traefik.http.middlewares.nopaque.basicauth.users=name:hashed-password" - # - "traefik.http.middlewares.nopaquesecure.basicauth.users=name:hashed-password" + # - "traefik.http.middlewares.nopaque-basicauth.basicauth.users=name:hashed-password" + # - "traefik.http.routers.nopaque.middlewares=nopaque-basicauth, nopaque-headers" + # - "traefik.http.middlewares.nopaquesecure-basicauth.basicauth.users=name:hashed-password" + # - "traefik.http.routers.nopaquesecure.middlewares=nopaquesecure-basicauth, nopaquesecure-headers" ### ### networks: - default