update no tls

This commit is contained in:
Sebastian Hugentobler 2019-01-06 16:31:51 +01:00
parent 8feb306de0
commit e140e1c0c9
2 changed files with 1 additions and 25 deletions

View File

@ -1,8 +1,6 @@
tls_certificate_path: "/etc/ssl/matrix-synapse/{{getenv "CERT_DOMAIN"}}.crt"
tls_private_key_path: "/etc/ssl/matrix-synapse/{{getenv "CERT_DOMAIN"}}.key"
tls_dh_params_path: "/var/lib/matrix-synapse/signing/dhparams.pem"
no_tls: False
no_tls: True
server_name: "{{getenv "SERVER_NAME"}}"
@ -14,24 +12,6 @@ public_baseurl: {{getenv "PUBLIC_BASE_URL"}}
soft_file_limit: 0
listeners:
-
port: 8448
bind_addresses:
- '::'
- '0.0.0.0'
type: http
tls: true
x_forwarded: false
resources:
-
names:
- client
- webclient
compress: true
- names: [federation]
compress: false
- port: 8008
tls: false
bind_addresses:

View File

@ -3,7 +3,3 @@
if [ ! -f /var/lib/matrix-synapse/signing/signing.key ]; then
s6-setuidgid matrix-synapse python -B -m synapse.app.homeserver -c /var/lib/matrix-synapse/server.yaml --generate-config -H $SERVER_NAME --report-stats=no
fi
if [ ! -f /var/lib/matrix-synapse/signing/dhparams.pem ]; then
openssl dhparam -out /var/lib/matrix-synapse/signing/dhparams.pem $DHPARAM_LENGTH
fi