Use newer Wt's proxy settings, fixes #532

This commit is contained in:
emeric
2024-10-05 20:47:03 +02:00
parent dc63e61a29
commit d0d0936619
4 changed files with 23 additions and 5 deletions
+7
View File
@@ -19,6 +19,13 @@ db-show-queries = false;
listen-port = 5082;
listen-addr = "0.0.0.0";
behind-reverse-proxy = false;
# original-ip-header and trusted-proxies are used only if behind-reverse-proxy is set to true
original-ip-header = "X-Forwarded-For";
trusted-proxies =
(
"127.0.0.1",
"::1"
);
# If enabled, these files have to exist and have correct permissions
tls-enable = false;