ImmichI
Immich3y ago
ahaw

Issue with reverse proxy.

I wanted to configure immich using traefik reverse proxy on example.com/immich/ path. But it seems that it doesnt work correctly.
Is it possible to set subdirectory path like for example in photoprism (PHOTOPRISM_SITE_URL) or bitwarden (DOMAIN)?

For now I can access specific files but pathes in html and redirects are ignoring /immich/.
I tried to change base href but without success. Svelte seems to ignore it
My current config looks like this:
labels:
  • "traefik.enable=true"
  • "traefik.http.routers.immich-proxy.rule=PathPrefix(/immich)"
  • "traefik.http.middlewares.immich-proxy.stripprefix.prefixes=/immich"
  • "traefik.http.routers.immich-proxy.middlewares=immich-proxy"
  • "traefik.http.middlewares.immich-proxy.stripprefix.forceslash=true"
  • traefik.http.routers.immich-proxy.entrypoints=websecure
  • traefik.http.routers.immich-proxy.tls=true
  • "traefik.http.services.immich-proxy.loadbalancer.server.port=8080"
Was this page helpful?