|
|
@ -21,6 +21,7 @@ identity_provider = https://accounts.firefox.com/
|
|
|
|
|
|
|
|
|
|
|
|
# This defines the database in which to store all server data.
|
|
|
|
# This defines the database in which to store all server data.
|
|
|
|
#sqluri = sqlite:////tmp/syncserver.db
|
|
|
|
#sqluri = sqlite:////tmp/syncserver.db
|
|
|
|
|
|
|
|
#sqluri = pymysql://sample_user:sample_password@127.0.0.1/syncstorage
|
|
|
|
|
|
|
|
|
|
|
|
# This is a secret key used for signing authentication tokens.
|
|
|
|
# This is a secret key used for signing authentication tokens.
|
|
|
|
# It should be long and randomly-generated.
|
|
|
|
# It should be long and randomly-generated.
|
|
|
@ -42,3 +43,16 @@ identity_provider = https://accounts.firefox.com/
|
|
|
|
# you tell the app that it's on HTTPS but it's really on HTTP, so it should
|
|
|
|
# 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.
|
|
|
|
# only be used as a last resort and after careful checking of server config.
|
|
|
|
force_wsgi_environ = false
|
|
|
|
force_wsgi_environ = false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tokenserver]
|
|
|
|
|
|
|
|
# Use a custom MySQL based syncstorage node hosted at http://localhost:8000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# node_url = http://localhost:8000
|
|
|
|
|
|
|
|
# sqluri = pymysql://sample_user:sample_password@127.0.0.1/syncstorage_rs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[endpoints]
|
|
|
|
|
|
|
|
# Replace syncserver endpoints with alternate server implementation, ie:
|
|
|
|
|
|
|
|
# MySQL based syncstorage-rs 1.5 server hosted at http://localhost:8000/1.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# "{node}/1.5/{uid}"
|
|
|
|
|
|
|
|
# sync-1.5 = "http://localhost:8000/1.5/{uid}"
|
|
|
|