2022-04-08 18:53:57 +02:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version= "0.10" >
<services >
2022-12-25 17:08:52 +01:00
<service name= "revprox" manage= "False" >
2022-10-01 19:29:09 +02:00
<file file_type= "variable" source= "revprox.crt" > revprox_client_cert_file</file>
<file file_type= "variable" source= "revprox.key" owner_type= "variable" owner= "revprox_client_cert_owner" group_type= "variable" group= "revprox_client_cert_group" mode= "400" > revprox_client_key_file</file>
2022-10-17 18:40:07 +02:00
<file file_type= "variable" source= "ca_InternalReverseProxy.crt" > revprox_client_ca_file</file>
2022-04-08 18:53:57 +02:00
</service>
</services>
<variables >
2022-12-25 17:08:52 +01:00
<family name= "revprox" description= "Reverse proxy" >
<variable name= "revprox_client_server_domainname" type= "domainname" description= "Nom de domaine du serveur mandataire inverse" mandatory= 'True' supplier= "ReverseProxy" hidden= "True" />
2022-04-08 18:53:57 +02:00
<variable name= "revprox_client_server_ip" type= "ip" hidden= 'True' />
2022-12-25 17:08:52 +01:00
<family name= "revprox_client" description= "Point d'entrée des clients" leadership= "True" >
2022-08-18 10:19:43 +02:00
<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" >
2022-04-08 18:53:57 +02:00
<value > /</value>
</variable>
2022-12-25 17:08:52 +01:00
<variable name= "revprox_client_is_websocket" type= "boolean" description= "Le point d'entrée est de types websocket" mandatory= "True" supplier= "ReverseProxy:websocket" hidden= "True" >
2022-04-08 18:53:57 +02:00
<value > False</value>
</variable>
2022-08-18 10:19:43 +02:00
<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" description= "Nom de l'arborescene racine du site localement" hidden= 'True' />
<variable name= "revprox_client_web_address" type= "web_address" description= "Nom de domaine du client du mandataire inverse" hidden= 'True' supplier= "ReverseProxy:url" />
2022-04-08 18:53:57 +02:00
</family>
<variable name= "revprox_client_port" type= "port" description= "Port du client du mandataire inverse" hidden= 'True' >
<value > 443</value>
</variable>
2022-12-25 17:08:52 +01:00
<variable name= "revprox_client_cert_owner" type= "unix_user" description= "Reverse proxy certificate owner" hidden= "True" >
2022-04-08 18:53:57 +02:00
<value > root</value>
</variable>
2022-12-25 17:08:52 +01:00
<variable name= "revprox_client_cert_group" type= "unix_user" description= "Reverse proxy certificate group" hidden= "True" >
2022-04-08 18:53:57 +02:00
<value > root</value>
</variable>
2022-10-01 19:29:09 +02:00
<variable name= "revprox_client_cert_file" type= "filename" description= "Reverse proxy certificate filename" hidden= "True" />
<variable name= "revprox_client_key_file" type= "filename" description= "Reverse proxy private key filename" hidden= "True" />
2022-10-17 18:40:07 +02:00
<variable name= "revprox_client_ca_file" type= "filename" description= "Reverse proxy CA filename" hidden= "True" />
2022-04-08 18:53:57 +02:00
</family>
</variables>
<constraints >
2022-08-18 10:19:43 +02:00
<fill name= "get_ip" >
2022-12-25 17:08:52 +01:00
<param type= "information" > zones</param>
2022-08-18 10:19:43 +02:00
<param type= "variable" > revprox_client_server_domainname</param>
<target > revprox_client_server_ip</target>
2022-05-23 08:49:21 +02:00
</fill>
2022-04-08 18:53:57 +02:00
<fill name= "calc_web_address" >
<param type= "variable" > domain_name_eth0</param>
<param type= "variable" > revprox_client_port</param>
<param type= "variable" > revprox_client_local_location</param>
<target > revprox_client_web_address</target>
</fill>
<fill name= "calc_value" >
<param type= "variable" > tls_cert_directory</param>
<param > revprox.crt</param>
<param name= "join" > /</param>
2022-10-01 19:29:09 +02:00
<target > revprox_client_cert_file</target>
2022-04-08 18:53:57 +02:00
</fill>
<fill name= "calc_value" >
<param type= "variable" > tls_key_directory</param>
<param > revprox.key</param>
<param name= "join" > /</param>
2022-10-01 19:29:09 +02:00
<target > revprox_client_key_file</target>
2022-04-08 18:53:57 +02:00
</fill>
2022-10-17 18:40:07 +02:00
<fill name= "calc_value" >
<param type= "variable" > tls_ca_directory</param>
<param > ca_InternalReverseProxy.crt</param>
<param name= "join" > /</param>
<target > revprox_client_ca_file</target>
</fill>
2022-04-08 18:53:57 +02:00
</constraints>
</rougail>