|
|
|
[server:main]
|
|
|
|
use = egg:gunicorn
|
|
|
|
host = 127.0.0.1
|
|
|
|
port = 5000
|
|
|
|
workers = 2
|
|
|
|
timeout = 60
|
|
|
|
|
|
|
|
[app:main]
|
|
|
|
use = egg:syncserver
|
|
|
|
|
|
|
|
[syncserver]
|
|
|
|
# This must be edited to point to the public URL of your server,
|
|
|
|
# i.e. the URL as seen by Firefox.
|
|
|
|
public_url = https://ynhbaseurl/
|
|
|
|
|
|
|
|
# This defines the database in which to store all server data.
|
|
|
|
sqluri = pymysql://yunouser:yunopass@localhost/yunobase
|
|
|
|
|
|
|
|
# This is a secret key used for signing authentication tokens.
|
|
|
|
# It should be long and randomly-generated.
|
|
|
|
# The following command will give a suitable value on *nix systems:
|
|
|
|
#
|
|
|
|
# head -c 20 /dev/urandom | sha1sum
|
|
|
|
#
|
|
|
|
# If not specified then the server will generate a temporary one at startup.
|
|
|
|
secret = changesecret
|
|
|
|
|
|
|
|
# Set this to "false" to disable new-user signups on the server.
|
|
|
|
# Only request by existing accounts will be honoured.
|
|
|
|
allow_new_users = true
|
|
|
|
|
|
|
|
# Uncomment and edit the following to use a local BrowserID verifier
|
|
|
|
# rather than posing assertions to the mozilla-hosted verifier.
|
|
|
|
# Audiences should be set to your public_url without a trailing slash.
|
|
|
|
#[browserid]
|
|
|
|
#backend = tokenserver.verifiers.LocalVerifier
|
|
|
|
#audiences = https://localhost:5000
|