synchro only

This commit is contained in:
2019-12-12 12:02:54 +01:00
parent ee84ce033e
commit 8e9ff10223
7 changed files with 254 additions and 82 deletions

View File

@ -8,6 +8,7 @@ Alias /ninegate /var/www/html/ninegate/web
php_admin_flag allow_url_fopen On
</Directory>
%if %%getVar("ninegate_activate_websocket", 'non') == "oui"
Listen %%adresse_ip_eth0:%%ninegate_websocket_portexterne
<VirtualHost %%adresse_ip_eth0:%%ninegate_websocket_portexterne>
ErrorLog /var/log/apache2/ssl_error.log
@ -26,4 +27,5 @@ Listen %%adresse_ip_eth0:%%ninegate_websocket_portexterne
ProxyPass / ws://%%adresse_ip_eth0:%%ninegate_websocket_portinterne retry=0 keepalive=On
ProxyPassReverse / ws://%%adresse_ip_eth0:%%ninegate_websocket_portinterne retry=0
</VirtualHost>
</VirtualHost>
%end if

View File

@ -45,9 +45,9 @@ parameters:
websocket_portinterne: %%ninegate_websocket_portinterne
%else
websocket_activate: false
websocket_host:
websocket_port:
websocket_portinterne:
websocket_host: %%web_url
websocket_port: 80
websocket_portinterne: 80
%end if
%if %%getVar("ninegate_activate_portal", 'non') == "oui"
portal_activate: true