I
Immich2y ago
IkeKap

1.88 reverse proxy issue

Previously had reverse proxy (via nginx proxy manager) set to destination http://immich_proxy:8080 to my duckdns source. Changed it to http://localhost:3001 after adding
ports:
- "2283:3001"
ports:
- "2283:3001"
to immich-server section. Able to see immich when directly launching http://localhost:2283. Not able to see via duckdns. Tried both http://localhost:3001 and http://localhost:2283 via nginx proxy manager. IDK what else to do
7 Replies
Alex Tran
Alex Tran2y ago
You will need to proxy back to immich_server:2283
IkeKap
IkeKapOP2y ago
O lol that was fast and dumb of me. Working now. Thank you so much just for my knowledge why did forwarding localhost not work but immich_server work?
Alex Tran
Alex Tran2y ago
localhost is your computer where you access the Immich instance while immich_server is the server where the files are hosted at
bo0tzz
bo0tzz2y ago
Actually, localhost from the perspective of NPM is the container that NPM is running in
IkeKap
IkeKapOP2y ago
Last info q, when I try to launch http://immich_server:3001 directly from host computer web browser no response but localhost and duckdns work fine. Is that because my web browser isn't able to reach the docker network properly?
bo0tzz
bo0tzz2y ago
That address is internal to the docker network
IkeKap
IkeKapOP2y ago
ty both so much again

Did you find this page helpful?