add preferred ip header option

This commit is contained in:
Mystikfluu
2022-07-31 11:39:25 +02:00
parent a1f5b91630
commit 47654513ba
2 changed files with 19 additions and 7 deletions
+2
View File
@@ -1,5 +1,7 @@
{
"allow_getotheruser_without_cookie": true,
"preferred_ip_header": "X-REAL-IP",
"only_prefer_when_ip": "::ffff:192.168.0.1",
"mysql": {
"connections":1000,
"host":"localhost",