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 openlist_backend {
zone openlist_backend 64k;
server openlist:5244 resolve;
}
server {
include snippets/https.conf;
@@ -6,7 +11,7 @@ server {
include snippets/proxy.conf;
location / {
proxy_pass http://openlist:5244;
proxy_pass http://openlist_backend;
proxy_redirect off;
}
}