diff --git a/conf/nginx.conf b/conf/nginx.conf index db0ec62..db836aa 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -20,3 +20,10 @@ location / { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } + +location /_matrix { + proxy_pass http://localhost:8008; + proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Host $host; +} \ No newline at end of file