configuration reverse proxy wss
This commit is contained in:
parent
7fbe3ab465
commit
fec9980c6b
|
@ -2,6 +2,7 @@
|
||||||
<creole>
|
<creole>
|
||||||
<files>
|
<files>
|
||||||
<file filelist='nineskeletor' name='/etc/eole/eole-db.d/nineskeletor-db.yml' rm='True' mkdir='True'/>
|
<file filelist='nineskeletor' name='/etc/eole/eole-db.d/nineskeletor-db.yml' rm='True' mkdir='True'/>
|
||||||
|
<file filelist='nineskeletor_nginx' name='/etc/nginx/web.d/nineskeletor.conf' source='nineskeletor-nginx.conf' rm='True' mkdir='True' />
|
||||||
</files>
|
</files>
|
||||||
|
|
||||||
<containers>
|
<containers>
|
||||||
|
@ -24,7 +25,7 @@
|
||||||
<family name='nineskeletor'>
|
<family name='nineskeletor'>
|
||||||
<variable name="ninegate_test_ninegate" type="oui/non" hidden='True' exists='False'><value>non</value></variable>
|
<variable name="ninegate_test_ninegate" type="oui/non" hidden='True' exists='False'><value>non</value></variable>
|
||||||
|
|
||||||
<variable name='activer_nineskeletor' type='oui/non' description='Activer nineskeletor'>
|
<variable name='activer_nineskeletor' type='oui/non' description='Activer Nineskeletor'>
|
||||||
<value>oui</value>
|
<value>oui</value>
|
||||||
</variable>
|
</variable>
|
||||||
|
|
||||||
|
@ -77,9 +78,15 @@
|
||||||
<condition name='hidden_if_in' source='activer_apache'>
|
<condition name='hidden_if_in' source='activer_apache'>
|
||||||
<param>non</param>
|
<param>non</param>
|
||||||
<target type='filelist'>nineskeletor</target>
|
<target type='filelist'>nineskeletor</target>
|
||||||
|
<target type='filelist'>nineskeletor_nginx</target>
|
||||||
<target type='servicelist'>nineskeletor</target>
|
<target type='servicelist'>nineskeletor</target>
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
|
<!-- AFFICHAGE EN FONCTION DE REVERSE PROXY -->
|
||||||
|
<condition name='hidden_if_in' source='activer_revprox'>
|
||||||
|
<param>non</param>
|
||||||
|
<target type='filelist'>nineskeletor_nginx</target>
|
||||||
|
</condition>
|
||||||
|
|
||||||
<!-- AFFICHAGE EN FONCTION DE NINESKELETOR -->
|
<!-- AFFICHAGE EN FONCTION DE NINESKELETOR -->
|
||||||
<condition name='hidden_if_in' source='activer_nineskeletor'>
|
<condition name='hidden_if_in' source='activer_nineskeletor'>
|
||||||
|
@ -109,6 +116,7 @@
|
||||||
<target type='variable'>nineskeletor_dbpass</target>
|
<target type='variable'>nineskeletor_dbpass</target>
|
||||||
|
|
||||||
<target type='filelist'>nineskeletor</target>
|
<target type='filelist'>nineskeletor</target>
|
||||||
|
<target type='filelist'>nineskeletor_nginx</target>
|
||||||
<target type='servicelist'>nineskeletor</target>
|
<target type='servicelist'>nineskeletor</target>
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
location /wssnineskeletor {
|
||||||
|
proxy_pass https://%%container_ip_web;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
}
|
Loading…
Reference in New Issue