again corrected signing key location and removed extra command for synapse server

This commit is contained in:
2026-03-20 17:13:20 -06:00
parent 032a14bbb3
commit b3f3ad0b7d
4 changed files with 73 additions and 58 deletions

View File

@@ -2,7 +2,6 @@ server_name: "{{ matrix_domain }}"
pid_file: /data/homeserver.pid
listeners:
- port: {{ synapse_http_port }}
bind_addresses: ['0.0.0.0']
resources:
- compress: true
names:
@@ -12,30 +11,21 @@ listeners:
type: http
x_forwarded: true
# -------------------------------------------------
# TURN (WebRTC) – injected from the variables above
# -------------------------------------------------
turn_uris:
- "turn:{{ matrix_domain }}:{{ turn_listen_port }}?transport=udp"
- "turn:{{ matrix_domain }}:{{ turn_tls_port }}?transport=tcp"
- "turns:{{ matrix_domain }}:{{ turn_tls_port }}?transport=tcp"
turn_shared_secret: "{{ turn_secret }}"
turn_user_lifetime: "86400000" # 1 day in ms (optional)
turn:
uris:
- "turn:{{ matrix_domain }}:{{ turn_listen_port }}?transport=udp"
- "turn:{{ matrix_domain }}:{{ turn_tls_port }}?transport=tcp"
- "turns:{{ matrix_domain }}:{{ turn_tls_port }}?transport=tcp"
turn_shared_secret: "{{ turn_secret }}"
turn_user_lifetime: "86400000" # 1 day in ms (optional)
# -----------------------------------------------------------------
# Database provider
#------------------------------------------------------------------
database:
name: sqlite3
args:
database: /data/homeserver.db
media_store_path: /data/media_store
log_config: "/data/matrix.fpov.space.log.config"
registration_shared_secret: "{{ registration_shared_secret }}"
report_stats: false
macaroon_secret_key: "{{ macaroon_secret_key }}
macaroon_secret_key: "{{ macaroon_secret_key }}"
form_secret: "{{ form_secret }}"
signing_key_path: "/data/my.matrix.host.signing.key"
signing_key_path: "/data/matrix.fpov.space.signing.key"
trusted_key_servers:
- server_name: "{{ matrix_domain }}"

View File

@@ -13,4 +13,6 @@ listening-ip=0.0.0.0
listening-ip=::0
log-file=/var/log/turnserver.log
verbose
verbose
shared-secret="{{ turn_secret }}"