websocket

This commit is contained in:
2020-11-23 13:08:51 +01:00
parent e7dcd35f04
commit c0def72147
30 changed files with 12598 additions and 54 deletions

View File

@ -6,4 +6,14 @@ Alias /nineskeletor /var/www/html/nineskeletor/public
Allow from All
Options Indexes FollowSymLinks MultiViews
php_admin_flag allow_url_fopen On
</Directory>
</Directory>
# Pour activer un serveur websocket sur l'application
# Attention choisir un port libre dans
# 5546 = nineskeletor
# 5556 = ninegate
# 5566 = nineboard
# 5576 = nineschool
# 5586 = ninesurvey
ProxyPass "/wssnineskeletor" "ws://%%adresse_ip_eth0:5546" retry=0 keepalive=On
ProxyPassReverse "/wssnineskeletor" "ws://%%adresse_ip_eth0:5546" retry=0

View File

@ -1 +1,2 @@
* * * * * root /var/www/html/nineskeletor/scripts/cron.sh &>/dev/null
* * * * * root /var/www/html/nineskeletor/scripts/websocket.sh restartifdown &>/dev/null