feat: add trusted proxies config value

This commit is contained in:
Stavros
2025-09-03 12:14:04 +03:00
parent f3eb7f69b4
commit 773cd6d171
3 changed files with 3 additions and 0 deletions

View File

@@ -112,6 +112,7 @@ func init() {
{"ldap-search-filter", "(uid=%s)", "LDAP search filter for user lookup."},
{"resources-dir", "/data/resources", "Path to a directory containing custom resources (e.g. background image)."},
{"database-path", "/data/tinyauth.db", "Path to the Sqlite database file."},
{"trusted-proxies", "", "Comma separated list of trusted proxies (IP addresses) for correct client IP detection and for header ACLs."},
}
for _, opt := range configOptions {