mirror of
https://github.com/YunoHost-Apps/conduit_ynh.git
synced 2024-09-03 18:16:30 +02:00
14 lines
359 B
Nginx Configuration File
14 lines
359 B
Nginx Configuration File
rewrite ^$ /;
|
|
location ~ ^/$ {
|
|
default_type text/plain;
|
|
return 200 "This is where Conduit is installed.";
|
|
}
|
|
|
|
location /_matrix {
|
|
proxy_pass http://127.0.0.1:__PORT__;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header Host $host;
|
|
proxy_read_timeout 600;
|
|
client_max_body_size 100M;
|
|
more_set_headers "Access-Control-Allow-Origin: *";
|
|
}
|