Add HSTS headers for all pages
This commit is contained in:
parent
687199810c
commit
d79a88870a
10 changed files with 28 additions and 13 deletions
|
@ -20,13 +20,14 @@ env_file = [".env"]
|
|||
networks = ["authentik", "postgres", "proxy"]
|
||||
labels = [
|
||||
"traefik.enable=true",
|
||||
"traefik.docker.network=proxy",
|
||||
"traefik.http.routers.authentik-redirect.entrypoints=http",
|
||||
"traefik.http.routers.authentik-redirect.rule=Host(`sso.korhonen.cc`)",
|
||||
"traefik.http.routers.authentik-redirect.middlewares=http2https@file",
|
||||
"traefik.http.routers.authentik.entrypoints=https",
|
||||
"traefik.http.routers.authentik.middlewares=secHeaders@file",
|
||||
"traefik.http.routers.authentik.rule=Host(`sso.korhonen.cc`)",
|
||||
"traefik.http.routers.authentik.service=authentik",
|
||||
"traefik.docker.network=proxy",
|
||||
"traefik.http.services.authentik.loadbalancer.server.port=9000",
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue