Direct DNS route to local storage

Hi all, I have my set up running via cloudflare and get the usual 200mb issue. At present I solve this by just changing the server route in the app when I'm at home to flush through the big files. I'm now aware that I can use pinole to change the DNS route for my phone to contact immich and this will just operate while at home (or connected to pinole). I am failing here though, pinhole will only allow me to route to an IP, so won't let me add the 2283 port. I could direct to the IP of the pi and then use nginx to try and route any IP traffic to port 2283, but this seems wrong. What's the way of doing this? Direct to internal IP? How do I find that? Appreciate that this isn't immich specific, but it it something that is probably relevant to quite a few immich users Thanks for any help. Cheers
3 Replies
Alex Tran
Alex Tran3y ago
You provably need to setup internal proxy service
jrasm91
jrasm913y ago
A lot of people run something like Nginx proxy manager or traefic. Some people do run Nginx on it's own. All these accomplish mapping a domain to an IP + 2283.
Alex Tran
Alex Tran3y ago
GitHub
[Feature]: Switch for local network (auto) · Issue #1097 · immich-a...
Feature detail Settings for the home network. Description: The specified url (http://immich.example.com) will be accessed if no local network is available (192.168.x.x:2283; e.g. based on the wifi ...

Did you find this page helpful?