Skip to content

Commit f7ba02d

Browse files
committed
Update docs
1 parent 9c72829 commit f7ba02d

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ you.
3232

3333
> [!WARNING]
3434
> If you're using Cloudflare, please make sure to set your `/share/video/*` path to Bypass Cache, otherwise you may
35-
> run into video playback issues. See [Troubleshooting](#troubleshooting) for more information.
35+
> run into video playback issues. See [Troubleshooting](/troubleshooting) for more information.
3636
3737
### Running alongside Immich on a single domain
3838

docs/troubleshooting.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ set to bypass cache. I ran into this issue myself, and found
1010

1111
I use Linux/Android, so this project is tested with BrowserStack for Apple/Windows devices.
1212

13+
## Link previews show `http://` or a private IP
14+
15+
The gallery itself uses relative URLs, so it works behind any reverse proxy. The one place IPP needs a fully qualified
16+
URL is the `og:image` tag that messaging apps use for link previews. Without `PUBLIC_BASE_URL`, IPP builds it from the
17+
incoming request, and behind a TLS-terminating reverse proxy that request arrives as plain `http://` on whatever
18+
hostname or IP the proxy used.
19+
20+
Set `PUBLIC_BASE_URL` in your `docker-compose.yml` to the public address of IPP, without a trailing slash:
21+
22+
```yaml
23+
environment:
24+
PUBLIC_BASE_URL: https://your-proxy-url.com
25+
```
26+
27+
If you serve IPP from several domains, leave it unset and make sure your reverse proxy forwards the original `Host`
28+
header. See [Running on a single domain](/running-on-single-domain).
29+
1330
## Can't reach Immich using `localhost:2283`
1431

1532
This is a normal Docker thing, nothing to do with IPP.

0 commit comments

Comments
 (0)