Immich on two domains simultaneously?
Hello Immich people! I previously had immich installed (beautifully) on my server, but now I am starting again on a new machine. With this one, I have set up my reverse proxy (SWAG, from linuxserver.io, it is basically NGINX) with two domain names. I have a "public" domain and a "family" domain name. I have had success proxying the same service through both of them (IE, being able to access Dillinger from both
dillinger.public.tld
and dillinger.family.tld
by creating CNAMEs in cloudflare and then using this in the nginx proxy conf:
Should this work with Immich? I do not know if the external domain matter a lot, especially when creating shareable links.
Ideally I would then be able to have my family use the family domain, and then I could use the public domain to share pictures with people who don't need my real name (discord people).
Thanks for any guidance!3 Replies
I don't see why it would be an issue, however the UI will show the generated URL based on the URL you are currently connected from for public sharing
But switching that out to the other URL manually should work fine
Nothing in immich is dependent on a particular domain name, including shared links, with the exception of OAuth callback urls 😁
Cool! I will update this with whether it worked flawlessly or if it required some additional tinkering