diff --git a/config/general.ini.sample b/config/general.ini.sample index 2a54e2a..7975de3 100644 --- a/config/general.ini.sample +++ b/config/general.ini.sample @@ -1,47 +1,60 @@ ; The values after the ; are the default values, uncomment them only if you ; want to make changes [server] ; host = 0.0.0.0 ; port = 8400 ; The file containing X.509 certificate and private key in unencrypted format ; If a certificate is set, the server will listen using TLS ; tls_certificate = '' ; by default the server will respond to the client after the outgoing ; request for the push notification is completed. If false, the server will ; reply imediately with 202. The result of the push notification can then ; be found only in the logs. This is designed for client that can block and ; cannot or do not want to wait for the push operation to be completed ; return_async = true ; by default any client is allowed to send requests to the server ; IP addresses and networks in CIDR notation are supported ; e.g: 10.10.10.0/24, 127.0.0.1, 192.168.1.2 ; allowed_hosts = [] ; by default logs go to the journal; uncomment below to also log to a file ; log_file = /var/log/sylk-pushserver/push.log +; Base directory for files created by the token storage +; spool_dir = /var/spool/sylk-pushserver + ; If debug is true, headers and payloads for the outgoing requests will also ; be logged ; debug = False [applications] ; paths are relative to the config directory, by default /etc/sylk-pushserver ; and if missing ./config from the curent directory ; mobile applications are configured in this file ; config_file = applications.ini ; credentials relative paths are relative to this directory ; credentials_folder = credentials ; more applications can be added to this directory ; extra_applications_dir = applications/ ; more pns can be added to this directory ; extra_pns_dir = pns/ +[Cassandra] +; configuration for token storage to use a Cassandra cluster +; if nothing is set here it will use a pickle file to store the tokens if +; API version 2 is used + +; Contact points to cassandra cluster +; cluster_contact_points = + +; Keyspace to use to retrieve tokens +; keyspace =