© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
9 replies
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
/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"
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Reverse proxy issue
ImmichIImmich / help-desk-support
8mo ago
Reverse Proxy issue
ImmichIImmich / help-desk-support
11mo ago
1.88 reverse proxy issue
ImmichIImmich / help-desk-support
3y ago
Problem with reverse proxy
ImmichIImmich / help-desk-support
8mo ago