docs: add local syncstorage-rs examples

pull/186/head
Rachel Tublitz 4 years ago
parent 2106051a1a
commit d45c9589ce
No known key found for this signature in database
GPG Key ID: F8120AF20626A87E

@ -0,0 +1 @@
2.7.16

@ -21,6 +21,7 @@ identity_provider = https://accounts.firefox.com/
# This defines the database in which to store all server data.
#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.
# 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
# only be used as a last resort and after careful checking of server config.
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}"

Loading…
Cancel
Save