|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
[server:main]
|
|
|
|
|
use = egg:gunicorn
|
|
|
|
|
host = 127.0.0.1
|
|
|
|
|
host = 0.0.0.0
|
|
|
|
|
port = 5000
|
|
|
|
|
workers = 2
|
|
|
|
|
timeout = 60
|
|
|
|
|
workers = 1
|
|
|
|
|
timeout = 30
|
|
|
|
|
|
|
|
|
|
[app:main]
|
|
|
|
|
use = egg:syncserver
|
|
|
|
@ -29,8 +29,16 @@ secret = changesecret
|
|
|
|
|
# Only request by existing accounts will be honoured.
|
|
|
|
|
allow_new_users = true
|
|
|
|
|
|
|
|
|
|
# Set this to "true" to work around a mismatch between public_url and
|
|
|
|
|
# the application URL as seen by python, which can happen in certain reverse-
|
|
|
|
|
# proxy hosting setups. It will overwrite the WSGI environ dict with the
|
|
|
|
|
# details from public_url. This could have security implications if e.g.
|
|
|
|
|
# you tell the app that it's on HTTPS but it's really on HTTP, so it should
|
|
|
|
|
# only be used as a last resort and after careful checking of server config.
|
|
|
|
|
force_wsgi_environ = true
|
|
|
|
|
|
|
|
|
|
# Uncomment and edit the following to use a local BrowserID verifier
|
|
|
|
|
# rather than posing assertions to the mozilla-hosted verifier.
|
|
|
|
|
# rather than posting assertions to the mozilla-hosted verifier.
|
|
|
|
|
# Audiences should be set to your public_url without a trailing slash.
|
|
|
|
|
#[browserid]
|
|
|
|
|
#backend = tokenserver.verifiers.LocalVerifier
|
|
|
|
|