00_nginx.xml
1 |
<?xml version="1.0" encoding="utf-8"?>
|
---|---|
2 |
|
3 |
<creole>
|
4 |
<files/> |
5 |
<variables>
|
6 |
<family name='Reverse proxy'> |
7 |
<variable name='revprox_redirection_http' type='oui/non' description='Activer la redirection des domaines'> |
8 |
<value>non</value> |
9 |
</variable>
|
10 |
<variable name='revprox_redirection' type='string' description="Nom de domaine à rediriger" multi='True' mandatory='True'> |
11 |
<value></value> |
12 |
</variable>
|
13 |
<variable name='revprox_redirection_rep' type='string' description="Nom du répertoire du domaine à rediriger" mandatory='True'> |
14 |
<value>/</value> |
15 |
</variable>
|
16 |
<variable name='revprox_destination' type='string' description="Nom de domaine de destination" mandatory='True'> |
17 |
<value></value> |
18 |
</variable>
|
19 |
</family>
|
20 |
</variables>
|
21 |
<constraints>
|
22 |
<group master='revprox_redirection'> |
23 |
<slave>revprox_redirection_rep</slave> |
24 |
<slave>revprox_destination</slave> |
25 |
</group>
|
26 |
<condition name='hidden_if_in' source='revprox_redirection_http'> |
27 |
<param>non</param> |
28 |
<target type='variable'>revprox_redirection</target> |
29 |
<target type='variable'>revprox_redirection_rep</target> |
30 |
<target type='variable'>revprox_destination</target> |
31 |
</condition>
|
32 |
</constraints>
|
33 |
</creole>
|
34 |
<!-- vim: ts=4 sw=4 expandtab
|
35 |
-->
|