Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- listen:
- hostname: '0.0.0.0'
- port: 32838
- # Correspond to your reverse proxy server_name/listen configuration
- webserver:
- https: true
- hostname: 'videos.casually.cat'
- port: 443
- rates_limit:
- api:
- # 50 attempts in 10 seconds
- window: 10 seconds
- max: 50
- login:
- # 15 attempts in 5 min
- window: 5 minutes
- max: 15
- signup:
- # 2 attempts in 5 min (only succeeded attempts are taken into account)
- window: 5 minutes
- max: 2
- ask_send_email:
- # 3 attempts in 5 min
- window: 5 minutes
- max: 3
- # Proxies to trust to get real client IP
- # 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)
- trust_proxy:
- - 'loopback'
- - '216.99.113.162'
- - '10.0.1.191'
Add Comment
Please, Sign In to add comment