aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorYohan Boniface <yb@enix.org>2019-04-26 13:48:55 +0200
committerChocobozzz <me@florianbigard.com>2019-04-26 13:48:55 +0200
commitc342726ad4ccbb90b8ff29f1cc1c89f9f7e8d98f (patch)
tree1a6d50694fc1db90bdb6d455d6988eb14eb9fd4b /config/default.yaml
parent4f0f2ab228d73dbec303914dd59b52f6cdaddf46 (diff)
downloadPeerTube-c342726ad4ccbb90b8ff29f1cc1c89f9f7e8d98f.tar.gz
PeerTube-c342726ad4ccbb90b8ff29f1cc1c89f9f7e8d98f.tar.zst
PeerTube-c342726ad4ccbb90b8ff29f1cc1c89f9f7e8d98f.zip
Allow to control RATES_LIMIT from configuration (#1787)
* Allow to control RATES_LIMIT from configuration * @Chocobozzz review (squash me)
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 70b10299d..f8be23d69 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -9,6 +9,16 @@ webserver:
9 hostname: 'localhost' 9 hostname: 'localhost'
10 port: 9000 10 port: 9000
11 11
12rates_limit:
13 login:
14 # 15 attempts in 5 min
15 window: 5 minutes
16 max: 15
17 ask_send_email:
18 # 3 attempts in 5 min
19 window: 5 minutes
20 max: 3
21
12# Proxies to trust to get real client IP 22# Proxies to trust to get real client IP
13# If you run PeerTube just behind a local proxy (nginx), keep 'loopback' 23# If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
14# If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet) 24# If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)