From juanitobananas, 9 Years ago, written in Plain Text.
Embed
  1. [server:main]
  2. use = egg:Paste#http
  3. host = 0.0.0.0
  4. port = 5000
  5.  
  6. [app:main]
  7. use = egg:syncserver
  8.  
  9. [syncserver]
  10. # This must be edited to point to the public URL of your server,
  11. # i.e. the URL as seen by Firefox.
  12. public_url = https://syncserver.cool/
  13.  
  14. # This defines the database in which to store all server data.
  15. #sqluri = sqlite:////tmp/syncserver.db
  16.  
  17. # This is a secret key used for signing authentication tokens.
  18. # It should be long and randomly-generated.
  19. # The following command will give a suitable value on *nix systems:
  20. #
  21. #    head -c 20 /dev/urandom | sha1sum
  22. #
  23. # If not specified then the server will generate a temporary one at startup.
  24. secret = abcdef0123456789
  25.  
  26. # Set this to "false" to disable new-user signups on the server.
  27. # Only request by existing accounts will be honoured.
  28. # allow_new_users = false
  29.  
  30. # Set this to "true" to work around a mismatch between public_url and
  31. # the application URL as seen by python, which can happen in certain reverse-
  32. # proxy hosting setups.  It will overwrite the WSGI environ dict with the
  33. # details from public_url.  This could have security implications if e.g.
  34. # you tell the app that it's on HTTPS but it's really on HTTP, so it should
  35. # only be used as a last resort and after careful checking of server config.
  36. force_wsgi_environ = false
  37.  
  38. # Uncomment and edit the following to use a local BrowserID verifier
  39. # rather than posting assertions to the mozilla-hosted verifier.
  40. # Audiences should be set to your public_url without a trailing slash.
  41. [browserid]
  42. backend = tokenserver.verifiers.RemoteVerifier
  43. audiences = https://syncserver.cool
  44. verifier_url = https://fxa-browser-verifier.cool/v2
  45.