Closed PeterBasista closed 1 year ago
Duplicate of #308
For the benefit of @PeterBasista and others looking into this, I ran into this same issue and have solved it with a number of steps. For the record, I use cloudflared with an Argo tunnel to expose my instance publicly, and wanted a route to easily reach the local server via the app. This is how I set up split DNS: Your public facing domain should be served securely on https: So the first thing we need to do is run immich with https on the local network:
It's been a bit of an ordeal to set this up, and adds a not insignificant amount of work and maintenance for the user. I wonder if the decision not to add this feature might be worth reconsidering for the benefit of the typical selfhoster who is not necessarily a network architect. Though I'll admit I'm not a developer so I don't know what it would take to add this in the app. For what it's worth, Home Assistant provides this in app as such: On the other hand, it appears NextCloud has decided not to implement this feature, and they recommend split DNS. Hope this helps some folks.
This should be natively supported
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 name). If a home network is available, the application will connect via the local network.
Benefits: Faster data transfer (internet transfer is dependent on the program from isp)
Why? My current library is 2Tb. The files are hosted on a home server, moving this data and the subsequent fees would be costly.
Platform
Mobile App