Gomo
Gomo
IImmich
Created by Gomo on 12/23/2024 in #help-desk-support
[SOLVED] 502 Bad Gateway with latest Immich version
After upgrading my Immich to the latest version I am getting "502 Bad Gateway" and cannot access immich / login, etc. I am using Nginx Proxy Manager with a publicly exposed domain. With previous version (v1.122.3) everything worked without issues. This is my .ENV file
UPLOAD_LOCATION=/mnt/Immich
DB_DATA_LOCATION=./postgres
IMMICH_VERSION=release
DB_PASSWORD=XXXXXXX
IMMICH_TRUSTED_PROXIES=192.X.X.X
DB_USERNAME=XXXX
DB_DATABASE_NAME=XXXX
UPLOAD_LOCATION=/mnt/Immich
DB_DATA_LOCATION=./postgres
IMMICH_VERSION=release
DB_PASSWORD=XXXXXXX
IMMICH_TRUSTED_PROXIES=192.X.X.X
DB_USERNAME=XXXX
DB_DATABASE_NAME=XXXX
And on the Nginx Proxy Manager I have
- websockets support enabled
- block common exploits enabled
- force SSL enabled
- HTTP/2 Support enabled
- HSTS Enabled
- And following custom config added:
client_max_body_size 50000M;
proxy_request_buffering off;
- websockets support enabled
- block common exploits enabled
- force SSL enabled
- HTTP/2 Support enabled
- HSTS Enabled
- And following custom config added:
client_max_body_size 50000M;
proxy_request_buffering off;
I thought I could fix the issue by adding "IMMICH_TRUSTED_PROXIES=192.X.X.X" in the .ENV file but that did not change anything. Your help would be appreciated!
37 replies