mirror of
https://github.com/YunoHost-Apps/jitsi_ynh.git
synced 2024-09-03 19:35:57 +02:00
Fix nginx
This commit is contained in:
parent
b44e6c1da0
commit
2c14f22ef7
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ location ~ ^/([a-zA-Z0-9=\?]+)$ {
|
|||
|
||||
# BOSH
|
||||
location __PATH__/http-bind {
|
||||
proxy_pass http://localhost:5290/http-bind;
|
||||
proxy_pass http://127.0.0.1:5290/http-bind;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_buffering off;
|
||||
|
@ -30,8 +30,8 @@ location __PATH__/http-bind {
|
|||
}
|
||||
|
||||
# xmpp websockets
|
||||
location /xmpp-websocket {
|
||||
proxy_pass http://localhost:5290/xmpp-websocket;
|
||||
location __PATH__/xmpp-websocket {
|
||||
proxy_pass http://127.0.0.1:5290/xmpp-websocket;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
|
Loading…
Add table
Reference in a new issue