Add www to non-www redirect for korhonen.cc
This commit is contained in:
parent
d79a88870a
commit
2229cf8cf2
2 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,7 @@ labels = [
|
||||||
"traefik.http.routers.jellyfin-redirect.rule=Host(`jellyfin.korhonen.cc`)",
|
"traefik.http.routers.jellyfin-redirect.rule=Host(`jellyfin.korhonen.cc`)",
|
||||||
"traefik.http.routers.jellyfin-redirect.middlewares=http2https@file",
|
"traefik.http.routers.jellyfin-redirect.middlewares=http2https@file",
|
||||||
"traefik.http.routers.jellyfin.entrypoints=https",
|
"traefik.http.routers.jellyfin.entrypoints=https",
|
||||||
"traefik.http.routers.gitea.middlewares=secHeaders@file",
|
"traefik.http.routers.jellyfin.middlewares=secHeaders@file",
|
||||||
"traefik.http.routers.jellyfin.rule=Host(`jellyfin.korhonen.cc`)",
|
"traefik.http.routers.jellyfin.rule=Host(`jellyfin.korhonen.cc`)",
|
||||||
"traefik.http.routers.jellyfin.service=jellyfin",
|
"traefik.http.routers.jellyfin.service=jellyfin",
|
||||||
"traefik.http.services.jellyfin.loadbalancer.server.port=8096",
|
"traefik.http.services.jellyfin.loadbalancer.server.port=8096",
|
||||||
|
|
|
@ -13,11 +13,11 @@ labels = [
|
||||||
"traefik.enable=true",
|
"traefik.enable=true",
|
||||||
"traefik.docker.network=proxy",
|
"traefik.docker.network=proxy",
|
||||||
"traefik.http.routers.korhonen-redirect.entrypoints=http",
|
"traefik.http.routers.korhonen-redirect.entrypoints=http",
|
||||||
"traefik.http.routers.korhonen-redirect.rule=Host(`korhonen.cc`)",
|
"traefik.http.routers.korhonen-redirect.rule=Host(`korhonen.cc`) || Host(`www.korhonen.cc`)",
|
||||||
"traefik.http.routers.korhonen-redirect.middlewares=http2https@file",
|
"traefik.http.routers.korhonen-redirect.middlewares=www2non-www@file,http2https@file",
|
||||||
"traefik.http.routers.korhonen.entrypoints=https",
|
"traefik.http.routers.korhonen.entrypoints=https",
|
||||||
"traefik.http.routers.korhonen.middlewares=secHeaders@file",
|
"traefik.http.routers.korhonen.middlewares=secHeaders@file,www2non-www@file",
|
||||||
"traefik.http.routers.korhonen.rule=Host(`korhonen.cc`)",
|
"traefik.http.routers.korhonen.rule=Host(`korhonen.cc`) || Host(`www.korhonen.cc`)",
|
||||||
"traefik.http.routers.korhonen.service=korhonen",
|
"traefik.http.routers.korhonen.service=korhonen",
|
||||||
"traefik.http.services.korhonen.loadbalancer.server.port=80",
|
"traefik.http.services.korhonen.loadbalancer.server.port=80",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue