Fix trust proxy

https://forum.cloudron.io/topic/2727/debug-error
This commit is contained in:
Girish Ramakrishnan 2020-06-25 15:22:32 -07:00
parent 92ca2f14c0
commit 86ecc69896
2 changed files with 4 additions and 0 deletions

View file

@ -7,3 +7,6 @@
[0.3.0] [0.3.0]
* Set min box version to 5.3.0 * Set min box version to 5.3.0
[0.4.0]
* Set trust proxy correctly

View file

@ -30,6 +30,7 @@ rates_limit:
# If you run PeerTube just behind a local proxy (nginx), keep 'loopback' # If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
# If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet) # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
trust_proxy: trust_proxy:
- 172.18.0.0/16
- 'loopback' - 'loopback'
# Your database name will be "peertube"+database.suffix # Your database name will be "peertube"+database.suffix