mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
added "whitelist" under [traffic]
This commit is contained in:
parent
e59ef24d35
commit
91f78ecd0f
@ -127,6 +127,10 @@ markdown = "Markdown"
|
|||||||
; Set this to 0 to disable rate limiting.
|
; Set this to 0 to disable rate limiting.
|
||||||
limit = 10
|
limit = 10
|
||||||
|
|
||||||
|
; (optional) if you only want some source IP addresses to create pastes
|
||||||
|
; enter their IPv4 address(es) here, separated by commas
|
||||||
|
; whitelist = "12.34.56.78,99.88.77.66"
|
||||||
|
|
||||||
; (optional) if your website runs behind a reverse proxy or load balancer,
|
; (optional) if your website runs behind a reverse proxy or load balancer,
|
||||||
; set the HTTP header containing the visitors IP address, i.e. X_FORWARDED_FOR
|
; set the HTTP header containing the visitors IP address, i.e. X_FORWARDED_FOR
|
||||||
; header = "X_FORWARDED_FOR"
|
; header = "X_FORWARDED_FOR"
|
||||||
|
Loading…
Reference in New Issue
Block a user