config.template.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # application base URL
  2. app_url: http://localhost:8080
  3. # listening port
  4. server_port: 8080
  5. # force redirecting to HTTPS protocol
  6. force_ssl: false
  7. # a master secret key to encrypt sensitive data at rest
  8. master_secret_key: your_master_secret!
  9. # a secret used to sign cookies
  10. cookie_secret: your_secret!
  11. # GitHub OAuth integration
  12. github_client_id:
  13. github_client_secret:
  14. # Azure OAuth integration
  15. azure_client_id:
  16. azure_client_secret:
  17. azure_tenant: common
  18. # Google OAuth integration
  19. google_client_id:
  20. google_client_secret:
  21. # shared page lifetime since the last time it was updated
  22. page_lifetime_minutes: 1440
  23. # app page lifetime since the last time any app session was updated
  24. app_lifetime_minutes: 60
  25. # allow connections from remote scripts/programs
  26. allow_remote_host_clients: false
  27. # ensure unath client has access to the page created from its IP
  28. check_page_ip: false
  29. # reserved account names, e.g. ["flet", "admin", "administrator", "cp"]
  30. reserved_account_names: []
  31. # reserved page names e.g. ["public/index"]
  32. reserved_page_names: []
  33. # all connecting scripts/programs must present this token
  34. host_clients_auth_token:
  35. # limits for unauthenticated clients, 0 - no limits
  36. limit_pages_per_hour: 0
  37. limit_sessions_per_hour: 0
  38. limit_session_size_bytes: 0
  39. # Configure redis to enable persistent pages and sessions
  40. redis:
  41. # Redis IP:port
  42. addr:
  43. password:
  44. max_idle: 5
  45. max_active: 10