3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 03:49:27 +01:00

config: Use sane STS defaults

This commit is contained in:
Daniel Oaks 2017-03-09 19:12:53 +10:00
parent 531cf675c8
commit fb4e8ab6c0

View File

@ -33,11 +33,11 @@ server:
#
# to stop advertising STS, leave this enabled and set 'duration' below to "0". this will
# advertise to connecting users that the STS policy they have saved is no longer valid
enabled: true
enabled: false
# how long clients should be forced to use TLS for.
# setting this to a too-long time will mean bad things if you later remove your TLS
duration: 0
duration: 1d5m
# tls port - you should be listening on this port above
port: 6697