nodes/htz.ex42-1048908: fix matrix.franzi.business nginx config

This commit is contained in:
Franzi 2020-11-09 13:06:03 +01:00
parent 835da4db4d
commit f96c53ee8a
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 5 additions and 3 deletions

View file

@ -8,13 +8,15 @@
location /_matrix {
proxy_pass http://[::1]:20080;
proxy_set_header Host "franzi.business";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
}
location /_matrix/media {
proxy_read_timeout 600s;
proxy_set_header Host $host; # Make sure this matches your homeserver in media-repo.yaml
proxy_set_header Host "franzi.business";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://localhost:8010; # Point this towards media-repo
proxy_pass http://localhost:8010;
}

View file

@ -184,7 +184,7 @@ nodes['htz.ex42-1048908'] = {
'webroot_config': {
'owner': 'kunsi',
'group': 'kunsi',
'mode': '0700',
'mode': '0755',
},
'extras': True,
},