diff options
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index 43cacee3b..d362e0b8a 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -7,6 +7,12 @@ webserver: | |||
7 | hostname: 'example.com' | 7 | hostname: 'example.com' |
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) | ||
13 | trust_proxy: | ||
14 | - 'loopback' | ||
15 | |||
10 | # Your database name will be "peertube"+database.suffix | 16 | # Your database name will be "peertube"+database.suffix |
11 | database: | 17 | database: |
12 | hostname: 'localhost' | 18 | hostname: 'localhost' |