Add settings for https

This commit is contained in:
Patrick Jentsch 2020-04-28 11:20:35 +02:00
parent c67c033aec
commit 7f06dc5ff6

View File

@ -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