baikal-docker
baikal-docker copied to clipboard
Installation using Traefik as reverse proxy
Is it possible to install this with traefik 2.0 as reverse proxy? This may impact the use of nginx. Many thanks.
Running the baikal container (ckulka/baikal:0.9.2-nginx) on a nomad cluster with traefik 2.8.3 in front with following traefik tags;
"traefik.enable=true",
"traefik.http.routers.baikal-secure.rule=Host(`baikal.domain.com`) && PathPrefix(`/admin`)",
"traefik.http.routers.baikal-secure.entrypoints=https",
"traefik.http.routers.baikal-secure.middlewares=default-auth",
"traefik.http.routers.baikal-dav.rule=Host(`baikal.domain.com`)",
"traefik.http.routers.baikal-dav.entrypoints=https",
"traefik.http.routers.baikal-dav.middlewares=baikal-dav",
"traefik.http.middlewares.baikal-dav.redirectregex.regex=https://(.*)/.well-known/(card|cal)dav",
"traefik.http.middlewares.baikal-dav.redirectregex.replacement=https://$$1/dav.php/",
"traefik.http.middlewares.baikal-dav.redirectregex.permanent=true"
as you can see I've a router for the admin page to get served and a router as for the cardav/caldav with some redirects configured. Works fine to get the UI working as well as the cardav/caldav implementation into various clients.
@visibilityspots Many thanks. That works fine.
Thank you @GenesisAdam !