1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dendrite_ynh.git synced 2024-09-03 18:25:58 +02:00

Fix headers in nginx config

This commit is contained in:
tituspijean 2022-09-27 23:40:58 +02:00
parent e65d7e64ec
commit 0be5210766
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -6,7 +6,8 @@ location ~ ^/$ {
location /_matrix { location /_matrix {
proxy_pass http://localhost:__PORT__; proxy_pass http://localhost:__PORT__;
more_set_headers "X-Real-IP: $remote_addr"; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header 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: *";