Unable to setup reverse proxy with nginx

I am having a lil trouble making my nginx proxy work with immich. i have not made any changes to my docker compose. I have attached my nginx config file as well below. Would greatly appreciate any help.
11 Replies
iirobotninjaii
iirobotninjaiiOP3y ago
the /photos route should point to my immich instance running on port 2283
jrasm91
jrasm913y ago
Immich doesn't work with virtual paths like that, just subdomain. photos.immich.com works immich.com/photos does not work (yet)
iirobotninjaii
iirobotninjaiiOP3y ago
oh how would i go about setting up photos.immich.com
jrasm91
jrasm913y ago
https://github.com/immich-app/immich/discussions/1679 here's the discussion related to virtual path
GitHub
[Feature] Support base url on the web app · immich-app immich · Dis...
Describe the bug Immich server is deployed using default docker-compose.yml on the private host (Windows10) at http://192.168.3.3:2283/ It is accessible via reverse proxy (Windows Server 2019, IIS ...
bo0tzz
bo0tzz3y ago
roughly:
server {
server_name photos.asd.duckdns.org ;

location / {
//proxy to immich, etc
}
}
server {
server_name photos.asd.duckdns.org ;

location / {
//proxy to immich, etc
}
}
That's a very rough example, and idk if duckdns supports subdomains
iirobotninjaii
iirobotninjaiiOP3y ago
ah idt it does but thanks anyway
bo0tzz
bo0tzz3y ago
reddit
r/homelab - DuckDNS sub-subdomains possible?
11 votes and 10 comments so far on Reddit
iirobotninjaii
iirobotninjaiiOP3y ago
thanks ill give it a try it worked man thanks @bo0tzz
bo0tzz
bo0tzz3y ago
Nice! I recommend running all your apps on separate subdomains, it's usually better supported and is also better security-wise
iirobotninjaii
iirobotninjaiiOP3y ago
yah fine ill look into that in the future

Did you find this page helpful?