fix: resolve container backends dynamically to allow nginx startup

This commit is contained in:
lingkai5wu committed 2026-10-16 16:06:17 +08:00
1 parent c323507de4
commit cf4c6983e2
8 files changed
+41 -6

No files matched your search

+6 -1
View File
@@ -1,3 +1,8 @@
upstream immich_backend {
zone immich_backend 64k;
server immich-server:2283 resolve;
}
server {
include snippets/https.conf;
@@ -20,7 +25,7 @@ server {
send_timeout 600s;
location / {
proxy_pass http://immich-server:2283;
proxy_pass http://immich_backend;
proxy_redirect off;
}