raph2960
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
Yeah! I can only imagine which other edge cases come in every week.
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
Oh man I'm so stupid, found the error. I have an external network where all services are in it that need to be rerouted by the reverse proxy. And then I usually have an internal network. My mistake was that I only gave the immich-server access to the external network because I initially thought that is the first responder for requests when in reality all I had to do was give the immich-proxy acces to that external network. Now it works
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
No worries! Thank you for your time!
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
Hey no worries! It is my weird config, no need for you guys to waste your time on! I will either figure it out or move on 🙂 I really appreciate the time you put into this project!
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
I have none. It is automatic. The only requirement is to start the docker service with a environment variable with the subdomain.
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
(But will look into caddy for sure at some point)
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
Hm yeah I have used nginx for a bunch of services, nextcloud, firefly, etherpad, onlyoffice, photoprism. Was never an issue. I don't want to tinker too much with the whole system.
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
Ah prob because the immich proxy does not make use of the env file at all
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
But I prob misconfigured something else 🙂
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
Yeah in the nginx docker I use port and subdomain are defined like I do it above in my env file. https://github.com/nginx-proxy/nginx-proxy#virtual-ports
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
Okay thank you so much!
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
Okay! I guess I need to ask in the reverse proxy people how I better configure nginx to make it work with immich.
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
yeah usually this "just works" with whatever port the service is running on. I jus set the virtual host for the service and the reverse proxy proxies. But there is also a VIRTUAL_PORT env var which I will try.
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
Wait but if I don't set the virtual_host, how would my reverse proxy know what subdomain redirects to this service?
53 replies
IImmich
•Created by raph2960 on 1/6/2023 in #help-desk-support
Trouble setting up immich behind nginx-proxy
Oh okay, hm I tried without that before but never withour the VIRTUAL_HOST stuff, will try right away
53 replies