move all confs

This commit is contained in:
Florian RICHER 2023-05-02 18:38:04 +02:00
parent f46c445b8d
commit 8e2ccd309d
No known key found for this signature in database
GPG key ID: 6BF27BF8A1E71623
50 changed files with 350 additions and 350 deletions

View file

@ -0,0 +1,17 @@
server {
listen 80 default_server;
server_name matrix.mrdev023.fr;
# Traefik -> nginx -> synapse
location /_matrix {
proxy_pass http://synapse:8008;
proxy_set_header X-Forwarded-For $remote_addr;
client_max_body_size 128m;
}
location /.well-known/matrix/ {
root /var/www/;
default_type application/json;
add_header Access-Control-Allow-Origin *;
}
}

View file

@ -0,0 +1,5 @@
{
"m.homeserver": {
"base_url": "https://matrix.mrdev023.fr"
}
}

View file

@ -0,0 +1,3 @@
{
"m.server": "matrix.mrdev023.fr:443"
}