Skip to content
GitLab
Explore
Sign in
Register
shore
homelab
Compare revisions
c9586475e9fa22cf0ca815cf198777f3c96c69ba to 339c9f3afda23295de5a12d19ab254b6210d3e90
Commits on Source (2)
fixup! Web proxy: Matrix well-known info.
· 2ef26077
nimrod
authored
Dec 16, 2023
2ef26077
fixup! Matrix: Compose setup.
· 339c9f3a
nimrod
authored
Dec 16, 2023
339c9f3a
Hide whitespace changes
Inline
Side-by-side
Compose/matrix/synapse/homeserver.yaml
View file @
339c9f3a
...
...
@@ -45,6 +45,7 @@ database:
## email ##
email
:
notif_from
:
"
Your
Friendly
%(app)s
homeserver
<noreply@{{
SYNAPSE_SERVER_NAME
}}>"
smtp_host
:
"
{{
SYNAPSE_SMTP_HOST
}}"
smtp_pass
:
"
{{
SYNAPSE_SMTP_PASS
}}"
smtp_port
:
"
{{
SYNAPSE_SMTP_PORT
}}"
...
...
Compose/web-proxy/ns4/snippets/matrix-well-known.conf
View file @
339c9f3a
...
...
@@ -15,6 +15,7 @@ location = /.well-known/matrix/client {
}
if
($
scheme
=
https
) {
add_header
Content
-
Type
"application/json; charset=utf-8"
;
add_header
Access
-
Control
-
Allow
-
Origin
*;
return
200
"{\"
m
.
homeserver
\
": { \"
base_url
\
": \"
https
://
matrix
.
shore
.
co
.
il
\
" } }"
;
}
}