From 37531ca37ced9da83cd30c27e30c75e74c90675f Mon Sep 17 00:00:00 2001 From: Arnaud Fornerot Date: Mon, 6 Dec 2021 14:46:37 +0100 Subject: [PATCH] conf proxy wss --- tmpl/nineschool-apache.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tmpl/nineschool-apache.conf b/tmpl/nineschool-apache.conf index 3c05d8a..6bb0a42 100644 --- a/tmpl/nineschool-apache.conf +++ b/tmpl/nineschool-apache.conf @@ -6,4 +6,16 @@ Alias /nineschool /var/www/html/nineschool/public Allow from All Options Indexes FollowSymLinks MultiViews php_admin_flag allow_url_fopen On - \ No newline at end of file + + +# Pour activer un serveur websocket sur l'application +# Attention choisir un port libre dans +# 5546 = nineskeletor +# 5556 = ninegate +# 5566 = nineboard +# 5576 = nineschool +# 5586 = ninesurvey +# 5587 = ninetraining +# 5596 = janus +ProxyPass "/wssnineschool" "ws://0.0.0.0:5576" retry=0 keepalive=On +ProxyPassReverse "/wssnineschool" "ws://0.0.0.0:5576" retry=0 \ No newline at end of file