aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-29 10:58:24 +0200
committerChocobozzz <me@florianbigard.com>2018-03-29 11:03:30 +0200
commit490b595a01c5824ff63ffb87f0efdfca95f4bf3b (patch)
tree3ad716fbb97a8b4ee946ad907202b82934a33d7c /support
parent23f4c3d412974fa5fda52589d1192e098e260f1a (diff)
downloadPeerTube-490b595a01c5824ff63ffb87f0efdfca95f4bf3b.tar.gz
PeerTube-490b595a01c5824ff63ffb87f0efdfca95f4bf3b.tar.zst
PeerTube-490b595a01c5824ff63ffb87f0efdfca95f4bf3b.zip
Prevent brute force login attack
Diffstat (limited to 'support')
-rw-r--r--support/docker/production/config/production.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/support/docker/production/config/production.yaml b/support/docker/production/config/production.yaml
index 41272ba26..7b6de32e5 100644
--- a/support/docker/production/config/production.yaml
+++ b/support/docker/production/config/production.yaml
@@ -7,6 +7,14 @@ webserver:
7 hostname: undefined 7 hostname: undefined
8 port: 443 8 port: 443
9 9
10# Proxies to trust to get real client IP
11# If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
12# If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
13trust_proxy:
14 - 'loopback'
15 - 'linklocal'
16 - 'uniquelocal'
17
10# Your database name will be "peertube"+database.suffix 18# Your database name will be "peertube"+database.suffix
11database: 19database:
12 hostname: 'db' 20 hostname: 'db'