|
|
@ -13,7 +13,7 @@ listen_port = 5000
|
|
|
|
use_whitelist = True
|
|
|
|
use_whitelist = True
|
|
|
|
|
|
|
|
|
|
|
|
# Whitelist CIDR
|
|
|
|
# Whitelist CIDR
|
|
|
|
whitelist_cidr = ['127.0.0.1/32', '10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16']
|
|
|
|
whitelist_cidr = ['127.0.0.1/32', '10.0.0.0/8', '172.16.0.0/12']
|
|
|
|
|
|
|
|
|
|
|
|
# Blacklist CIDR
|
|
|
|
# Blacklist CIDR
|
|
|
|
blacklist_cidr = []
|
|
|
|
blacklist_cidr = []
|
|
|
@ -31,7 +31,7 @@ guess_threshold = 0.20
|
|
|
|
recent_pastes = 10
|
|
|
|
recent_pastes = 10
|
|
|
|
|
|
|
|
|
|
|
|
# Try to use X-Real-IP or X-Forwarded-For HTTP headers
|
|
|
|
# Try to use X-Real-IP or X-Forwarded-For HTTP headers
|
|
|
|
behind_proxy = True
|
|
|
|
behind_proxy = False
|
|
|
|
|
|
|
|
|
|
|
|
# handle path while after reverse proxy,
|
|
|
|
# handle path while after reverse proxy,
|
|
|
|
handle_path = "pastey"
|
|
|
|
handle_path = "pastey"
|
|
|
|