1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jitsi_ynh.git synced 2024-09-03 19:35:57 +02:00

Fix services

This commit is contained in:
yalh76 2019-08-26 00:21:12 +02:00
parent c75e997c3f
commit c95448f92c
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/jitsi-jicofo/
ExecStart=__FINALPATH__/jitsi-jicofo/jicofo.sh --host=localhost --domain=__DOMAIN__ --secret=__FOCUS_SECRET__ --user_domain=auth.__DOMAIN__ --user_name=__FOCUS_USER__ --user_password=__FOCUS_PASSWORD__ & >> /var/log/__APP__/__APP__-jitsi-jicofo.log 2>&1
ExecStart=__FINALPATH__/jitsi-jicofo/jicofo.sh --host=127.0.0.1 --domain=__DOMAIN__ --secret=__FOCUS_SECRET__ --user_domain=auth.__DOMAIN__ --user_name=__FOCUS_USER__ --user_password=__FOCUS_PASSWORD__ & >> /var/log/__APP__/__APP__-jitsi-jicofo.log 2>&1
[Install]
WantedBy=multi-user.target

View file

@ -188,7 +188,7 @@ VirtualHost "auth.__DOMAIN__"
}
authentication = "ldap2"
ldap = {
hostname = "localhost",
hostname = "127.0.0.1",
user = {
basedn = "ou=users,dc=yunohost,dc=org",
filter = "(&(objectClass=posixAccount)(mail=*@auth.__DOMAIN__))",

View file

@ -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;
@ -31,7 +31,7 @@ location __PATH__/http-bind {
# xmpp websockets
location /xmpp-websocket {
proxy_pass http://localhost:5290/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";