fix(service/bluesky): resolve traefik configuration issues

This commit is contained in:
Jo 2024-10-29 03:08:11 +01:00
parent 018f506660
commit 1bbf19a9e3

View file

@ -34,7 +34,7 @@ in {
labels = { labels = {
"traefik.enable" = "true"; "traefik.enable" = "true";
"traefik.http.routers.bluesky-pds.entrypoints" = "websecure"; "traefik.http.routers.bluesky-pds.entrypoints" = "websecure";
"traefik.http.routers.bluesky-pds.rule" = "HostRegexp(`{subdomain:[a-zA-Z0-9-]+}.bsky.thevoid.cafe`)"; "traefik.http.routers.bluesky-pds.rule" = "Host(`bsky.thevoid.cafe`) || HostRegexp(`.+\.bsky\.thevoid\.cafe`)";
"traefik.http.middlewares.bluesky-pds-header.headers.customrequestheaders.Host" = "{host}"; "traefik.http.middlewares.bluesky-pds-header.headers.customrequestheaders.Host" = "{host}";
"traefik.http.services.bluesky-pds.loadbalancer.server.port" = "2583"; "traefik.http.services.bluesky-pds.loadbalancer.server.port" = "2583";
}; };