Guest User

Untitled

a guest
May 8th, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. listen:
  2. hostname: '0.0.0.0'
  3. port: 32838
  4.  
  5. # Correspond to your reverse proxy server_name/listen configuration
  6. webserver:
  7. https: true
  8. hostname: 'videos.casually.cat'
  9. port: 443
  10.  
  11. rates_limit:
  12. api:
  13. # 50 attempts in 10 seconds
  14. window: 10 seconds
  15. max: 50
  16. login:
  17. # 15 attempts in 5 min
  18. window: 5 minutes
  19. max: 15
  20. signup:
  21. # 2 attempts in 5 min (only succeeded attempts are taken into account)
  22. window: 5 minutes
  23. max: 2
  24. ask_send_email:
  25. # 3 attempts in 5 min
  26. window: 5 minutes
  27. max: 3
  28.  
  29. # Proxies to trust to get real client IP
  30. # If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
  31. # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
  32. trust_proxy:
  33. - 'loopback'
  34. - '216.99.113.162'
  35. - '10.0.1.191'
Add Comment
Please, Sign In to add comment