mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2025-12-10 13:49:39 +05:00
TrustedProxyCheck = true by default
This commit is contained in:
@@ -37,7 +37,7 @@ const Prefork = false
|
|||||||
|
|
||||||
// use X-Forwarded-* headers ONLY when ip is in TrustedProxies list
|
// use X-Forwarded-* headers ONLY when ip is in TrustedProxies list
|
||||||
// when disabled, the X-Forwarded-* headers will be blindly used
|
// when disabled, the X-Forwarded-* headers will be blindly used
|
||||||
const TrustedProxyCheck = false
|
const TrustedProxyCheck = true
|
||||||
|
|
||||||
// list of ips or ip ranges of trusted proxies (check above)
|
// list of ips or ip ranges of trusted proxies (check above)
|
||||||
var TrustedProxies = []string{}
|
var TrustedProxies = []string{}
|
||||||
|
|||||||
Reference in New Issue
Block a user