From 7f06dc5ff640c64ffac2d80bf5b0670f50651e4d Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 28 Apr 2020 11:20:35 +0200 Subject: [PATCH] Add settings for https --- docker-compose.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 94da5713..b3142d5a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,8 +18,15 @@ services: labels: - "traefik.docker.network=reverse-proxy" - "traefik.enable=true" - - "traefik.http.routers.proxy.rule=Host(`nopaque.localhost`)" - - "traefik.http.routers.proxy.entrypoints=web" + - "traefik.http.routers.nopaque.entrypoints=web" + # Change the next line to match your nopaque domain. + - "traefik.http.routers.nopaque.rule=Host(`nopaque.localhost`)" + # Uncomment the next two lines to enable HTTPS. + # - "traefik.http.routers.nopaque.entrypoints=websecure" + # - "traefik.http.routers.nopaque.tls.certresolver=myresolver" + # The next two lines add Basic Authentication. More information: https://docs.traefik.io/middlewares/basicauth/ + # - "traefik.http.middlewares.nopaque.basicauth.users=name:hashed-password" + # - "traefik.http.routers.nopaque.middlewares=nopaque" networks: - default - reverse-proxy