feat: take the client address from trusted proxies

This commit is contained in:
DiheChen committed 2026-11-08 21:43:35 +08:00
1 parent ebe6f41c32
commit fa928102d1
12 files changed
+191 -4

No files matched your search

+1
View File
@@ -40,6 +40,7 @@ services:
<<: *alisten-env
ALISTEN_PUBLIC_URL: ${ALISTEN_PUBLIC_URL}
ALISTEN_ALLOWED_ORIGINS: ${ALISTEN_ALLOWED_ORIGINS}
ALISTEN_TRUSTED_PROXIES: ${ALISTEN_TRUSTED_PROXIES:-}
ALISTEN_ADMIN_TOKEN: ${ALISTEN_ADMIN_TOKEN}
STORAGE_PUBLIC_URL: ${STORAGE_PUBLIC_URL}
GOMAXPROCS: "2"