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_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: True
no_tls: False
server_name: "{{getenv "SERVER_NAME"}}" server_name: "{{getenv "SERVER_NAME"}}"
@ -14,24 +12,6 @@ public_baseurl: {{getenv "PUBLIC_BASE_URL"}}
soft_file_limit: 0 soft_file_limit: 0
listeners: 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 - port: 8008
tls: false tls: false
bind_addresses: bind_addresses:

View File

@ -3,7 +3,3 @@
if [ ! -f /var/lib/matrix-synapse/signing/signing.key ]; then 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 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 fi
if [ ! -f /var/lib/matrix-synapse/signing/dhparams.pem ]; then
openssl dhparam -out /var/lib/matrix-synapse/signing/dhparams.pem $DHPARAM_LENGTH
fi