mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
Fix #50
This commit is contained in:
parent
15f4690baf
commit
a7f20354b2
1 changed files with 9 additions and 8 deletions
|
@ -6,8 +6,9 @@ location ~ ^/$ {
|
||||||
|
|
||||||
location /_matrix {
|
location /_matrix {
|
||||||
proxy_pass http://localhost:__PORT__;
|
proxy_pass http://localhost:__PORT__;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
more_set_headers "X-Forwarded-For: $remote_addr";
|
||||||
proxy_set_header Host $host;
|
more_set_headers "X-Real-IP: $remote_addr";
|
||||||
|
more_set_headers "Host: $host";
|
||||||
proxy_read_timeout 600;
|
proxy_read_timeout 600;
|
||||||
client_max_body_size 100M;
|
client_max_body_size 100M;
|
||||||
more_set_headers "Access-Control-Allow-Origin: *";
|
more_set_headers "Access-Control-Allow-Origin: *";
|
||||||
|
|
Loading…
Add table
Reference in a new issue