nodes/htz.ex42-1048908: fix matrix.franzi.business nginx config
This commit is contained in:
parent
835da4db4d
commit
f96c53ee8a
2 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -184,7 +184,7 @@ nodes['htz.ex42-1048908'] = {
|
|||
'webroot_config': {
|
||||
'owner': 'kunsi',
|
||||
'group': 'kunsi',
|
||||
'mode': '0700',
|
||||
'mode': '0755',
|
||||
},
|
||||
'extras': True,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue