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:
parent
c75e997c3f
commit
c95448f92c
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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__))",
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue