Feat: config pour déployer matrix

This commit is contained in:
2022-02-10 20:47:52 +01:00
parent a97deb4efb
commit 80a6fabc66
6 changed files with 2812 additions and 4 deletions

18
matrix/nginx/matrix.conf Normal file
View File

@@ -0,0 +1,18 @@
server {
listen 80 default_server;
server_name matrix.combava.lan;
# 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 *;
}
}