doorstatus/source/server/apistatusd.conf
Ludwig Behm d9cf4695b8
Fix: apistatusd.py
- Changed apistatusd.conf: set server.host default value to 0.0.0.0 to
  improve error messages; needs checking if this disabled ipv6
- Changed apistatusd.conf: renamed default client.cert filename to
  improve meaning

- Fix create_ssl_context: context.options was reset by misuse of `=`
  instead of binary or assignment `|=`
- Changed main/socket-creation: disabled keepalive
- Fix main/connection/pre-ssl-handshake: set missing tls handshake
  timeout; code went into infinite waiting block
- Some cleanup
2023-10-23 23:50:29 +02:00

33 lines
667 B
Text

# file: statusd.conf
# Statusd.conf is part of doorstatus - a programm to change the krautspaces
# doorstatus. This is the configuration file for the server, who is manage
# the api for door status from krautspace jena.
# Set [server][host] to localhost or 127.0.0.1 if you want listen only to
# localhost.
[general]
timeout = 5.0
loglevel = debug
[server]
host = 0.0.0.0
port = 10001
cert = ./certs/statusd-pub.pem
key = ./certs/statusd-key.pem
[client]
cert = ./certs/client-ca.pem
# possible values: false, may, true
required = true
[api]
api = ./api
template = ./api_template
[mastodon]
send = false
host = localhost
token = aaaaa-bbbbb-ccccc-ddddd-eeeee