Files
immich-magic-proxy/docs/running-on-single-domain.md
T
Alan Grainger afe7811a6f Update docs
2026-08-26 09:31:49 +12:00

30 lines
843 B
Markdown

# Running IPP on a single domain with Immich
Because everything related to IPP happens within the `/share` and `/s` paths,
you can serve Immich and IPP on the same domain by configuring your reverse
proxy to send all `/share/*` and `/s/*` requests to IPP.
## Caddy
[View Caddy docs](https://caddyserver.com/docs/caddyfile/directives/basic_auth) for more info. Here's an example of how to do this with Caddy:
```
https://your-domain.com {
# Immich Public Proxy paths
@public path /share /share/* /s/*
handle @public {
# Your IPP server and port
reverse_proxy YOUR_SERVER:3000
}
# All other paths, require basic auth and send to Immich
handle {
basic_auth {
user password_hash
}
# Your Immich server and port
reverse_proxy YOUR_SERVER:2283
}
}
```