2014-02-06 06:29:34 +00:00
|
|
|
[server:main]
|
2015-05-12 07:25:13 +00:00
|
|
|
use = egg:gunicorn
|
2014-02-06 06:29:34 +00:00
|
|
|
host = 0.0.0.0
|
|
|
|
port = 5000
|
2015-05-12 07:25:13 +00:00
|
|
|
workers = 1
|
|
|
|
timeout = 30
|
2014-02-06 06:29:34 +00:00
|
|
|
|
|
|
|
[app:main]
|
|
|
|
use = egg:syncserver
|
|
|
|
|
|
|
|
[syncserver]
|
2014-04-30 05:50:21 +00:00
|
|
|
# This must be edited to point to the public URL of your server,
|
|
|
|
# i.e. the URL as seen by Firefox.
|
2014-02-06 06:29:34 +00:00
|
|
|
public_url = http://localhost:5000/
|
|
|
|
|
|
|
|
# This defines the database in which to store all server data.
|
|
|
|
#sqluri = sqlite:////tmp/syncserver.db
|
|
|
|
|
|
|
|
# This is a secret key used for signing authentication tokens.
|
2014-04-30 05:50:21 +00:00
|
|
|
# It should be long and randomly-generated.
|
|
|
|
# The following command will give a suitable value on *nix systems:
|
|
|
|
#
|
2014-04-30 05:55:51 +00:00
|
|
|
# head -c 20 /dev/urandom | sha1sum
|
2014-04-30 05:50:21 +00:00
|
|
|
#
|
|
|
|
# If not specified then the server will generate a temporary one at startup.
|
2014-02-06 06:29:34 +00:00
|
|
|
#secret = INSERT_SECRET_KEY_HERE
|
2014-05-02 02:39:46 +00:00
|
|
|
|
|
|
|
# Set this to "false" to disable new-user signups on the server.
|
|
|
|
# Only request by existing accounts will be honoured.
|
|
|
|
# allow_new_users = false
|
2014-07-24 18:47:33 +00:00
|
|
|
|
2015-02-13 05:26:17 +00:00
|
|
|
# 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 = false
|
|
|
|
|
2014-07-30 07:18:32 +00:00
|
|
|
# Uncomment and edit the following to use a local BrowserID verifier
|
2015-02-13 05:26:17 +00:00
|
|
|
# rather than posting assertions to the mozilla-hosted verifier.
|
2014-07-30 07:18:32 +00:00
|
|
|
# Audiences should be set to your public_url without a trailing slash.
|
2014-07-24 18:47:33 +00:00
|
|
|
#[browserid]
|
|
|
|
#backend = tokenserver.verifiers.LocalVerifier
|
|
|
|
#audiences = https://localhost:5000
|