services: letsencrypt: Matrix JSON configuration
This commit is contained in:
parent
a2b43b2855
commit
710bfe0f57
2 changed files with 7 additions and 14 deletions
|
|
@ -23,17 +23,3 @@ server {
|
|||
client_max_body_size 10M;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
server_name belanyi.fr;
|
||||
|
||||
include /config/nginx/ssl.conf;
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
default_type application/json;
|
||||
return 200 '{"m.server": "matrix.belanyi.fr:443"}';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue