diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-05-22 19:43:13 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2018-05-22 19:44:34 +0200 |
commit | ff2c1fe8133f9556f6aaa52058cd8b83c40085e6 (patch) | |
tree | bc92cde25bf5a1d74b1413d7145179ef7abfd670 /config/production.yaml.example | |
parent | e2f1dad83607aa610ee33b234a81b07664f4304c (diff) | |
download | PeerTube-ff2c1fe8133f9556f6aaa52058cd8b83c40085e6.tar.gz PeerTube-ff2c1fe8133f9556f6aaa52058cd8b83c40085e6.tar.zst PeerTube-ff2c1fe8133f9556f6aaa52058cd8b83c40085e6.zip |
feature: IP filtering on signup page
disable registration form on IP not in range
checking the CIDR list before filtering with it
placing the cidr filters as an attribute object in the config
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index 2f80beede..a9d2c3b80 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -76,6 +76,10 @@ admin: | |||
76 | signup: | 76 | signup: |
77 | enabled: false | 77 | enabled: false |
78 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | 78 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
79 | filters: | ||
80 | cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist | ||
81 | whitelist: [] | ||
82 | blacklist: [] | ||
79 | 83 | ||
80 | user: | 84 | user: |
81 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | 85 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). |