ImmichI
Immich3y ago
71 replies
ProCloudSurfer

Using NGINX Proxy Manager With Immich

Hi, so glad to see some of the great support here in the discord for this awesome app. I cant quite find the info I need (or I just am not fully understanding the API gateway for Immich)

Everything is running perfectly with the app, the issues come in when I attempt to add my reverse proxy in front. It seems any type of API request is broken, I can even load and upload assets (unless is uses API I think, then I get an error) but I cannot save any settings. I need this to make my Immich instance easily available to anyone anywhere.

We can pretend my domain is photos.mydomain.com, and my docker host internal IP is 192.168.1.2. In NGINX Proxy Manager I have set up a simple proxy host with no advanced config, allowed websockets, blocked common exploits, using an SSL cert with a wildcard for *.mydomain.com

docker-compose.yml has very slightly tweaked ports, and I use my own postgresql server so I removed that container completely, all sql functions seem to work find. Posting this second due to length

.env file is pretty much basic, no crazy modifications:


UPLOAD_LOCATION=/data/immich-uploads

IMMICH_VERSION=release

TYPESENSE_API_KEY=uniqueKey
DB_PASSWORD=immich-user-password

DB_HOSTNAME=192.168.1.3
DB_USERNAME=immich-user
DB_DATABASE_NAME=immichdb

REDIS_HOSTNAME=immich_redis

REVERSE_GEOCODING_PRECISION=2
ImmichSettingsError.png
image.png
Was this page helpful?