mirror of
https://github.com/YunoHost-Apps/jitsi_ynh.git
synced 2024-09-03 19:35:57 +02:00
18 lines
432 B
Nginx Configuration File
18 lines
432 B
Nginx Configuration File
location YNH_LOCATION/ {
|
|
alias /var/www/jitsi/;
|
|
index index.html;
|
|
ssi on;
|
|
}
|
|
|
|
location ~ ^YNH_LOCATION/([a-zA-Z0-9]+)$ {
|
|
rewrite ^YNH_LOCATION/(.*)$ YNH_LOCATION/ break;
|
|
}
|
|
|
|
location YNH_LOCATION/http-bind {
|
|
proxy_pass http://localhost:5290/http-bind;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_set_header Host $http_host;
|
|
proxy_buffering off;
|
|
tcp_nodelay on;
|
|
access_log off;
|
|
}
|