dataset/seed/reverse-proxy-client/dictionaries/21_revprox_client.xml

53 lines
2.9 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<services>
<service name="revprox" manage="False">
<certificate server="revprox_client_server_domainname" authority="InternalReverseProxy" owner="revprox_client_cert_owner" owner_type="variable" type="server">revprox</certificate>
<file engine="ansible" filelist="copy_tests">/tests/reverse-proxy.yml</file>
</service>
</services>
<variables>
<family name="revprox" description="Reverse proxy">
<variable name="revprox_client_server_domainname" type="domainname" mandatory='True' supplier="ReverseProxy" hidden="True"/>
<variable name="revprox_client_server_ip" type="ip" hidden='True'/>
<family name="revprox_client" description="Point d'entrée des clients" leadership="True">
<variable name="revprox_client_external_domainnames" type="domainname" description="Nom de domaine exterieur du serveur" mandatory='True' multi="True" unique="False" supplier="ReverseProxy:external"/>
<variable name="revprox_client_location" type="filename" description="Nom de l'arborescence racine du site" mandatory="True" supplier="ReverseProxy:location">
<value>/</value>
</variable>
<variable name="revprox_client_is_websocket" type="boolean" mandatory="True" supplier="ReverseProxy:websocket" hidden="True">
<value>False</value>
</variable>
<variable name="revprox_client_max_body_size" description="Taille maximum du corps" supplier="ReverseProxy:max_body_size"/>
<variable name="revprox_client_local_location" type="filename" hidden='True'/>
<variable name="revprox_client_web_address" type="web_address" hidden='True' supplier="ReverseProxy:url" mandatory="True"/>
<variable name="revprox_http" type="boolean" hidden='True' supplier="ReverseProxy:http">
<value>False</value>
</variable>
</family>
<variable name="revprox_client_http" type="boolean" hidden='True'>
<value>False</value>
</variable>
<variable name="revprox_client_port" type="port" hidden='True'>
<value>443</value>
</variable>
<variable name="revprox_client_cert_owner" type="unix_user" hidden="True">
<value>root</value>
</variable>
</family>
</variables>
<constraints>
<fill name="get_ip">
<param type="information">zones</param>
<param type="variable">revprox_client_server_domainname</param>
<target>revprox_client_server_ip</target>
</fill>
<fill name="calc_web_address">
<param type="variable" name="domain_name" optional="True">domain_name_eth0</param>
<param type="variable" name="port">revprox_client_port</param>
<param type="variable" name="local_location">revprox_client_local_location</param>
<param type="variable" name="http">revprox_client_http</param>
<target>revprox_client_web_address</target>
</fill>
</constraints>
</rougail>