tls: must started even if there is no reverse proxy or external dns

This commit is contained in:
egarette@silique.fr 2023-03-02 21:37:42 +01:00
parent b91e8ab455
commit 5b29e1630b

View file

@ -12,9 +12,9 @@
<variables> <variables>
<family name="network" description="Réseau"> <family name="network" description="Réseau">
<variable name="zones_list" mandatory="False" redefine="True"/> <variable name="zones_list" mandatory="False" redefine="True"/>
<variable name="outgoing_ports" redefine="True"> <variable name="first_zone_name" hidden="True"/>
<value>443</value> <variable name="outgoing_ports" redefine="True" mandatory="False"/>
</variable> <variable name="dns_client_address" redefine="True" mandatory="False"/>
</family> </family>
<family name="revprox"> <family name="revprox">
<variable name="revprox_client_server_domainname" redefine="True" mandatory="False"/> <variable name="revprox_client_server_domainname" redefine="True" mandatory="False"/>
@ -25,12 +25,10 @@
<variable name="revprox_client_location" redefine="True"> <variable name="revprox_client_location" redefine="True">
<value>/.well-known/acme-challenge</value> <value>/.well-known/acme-challenge</value>
</variable> </variable>
<!--variable name="revprox_client_local_location" redefine="True">
<value>/</value>
</variable-->
<variable name="revprox_http" redefine="True"> <variable name="revprox_http" redefine="True">
<value>True</value> <value>True</value>
</variable> </variable>
<variable name="revprox_client_web_address" redefine="True" mandatory="False"/>
</family> </family>
<variable name="revprox_client_http" redefine='True'> <variable name="revprox_client_http" redefine='True'>
<value>True</value> <value>True</value>
@ -40,4 +38,20 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints>
<fill name="calc_value">
<param type="variable" optional="True">domain_name_eth0</param>
<param type="nil"/>
<param name="first" type="boolean">True</param>
<target>first_zone_name</target>
</fill>
<fill name="calc_value">
<param type="nil"/>
<param name="default">443</param>
<param name="condition" type="variable">first_zone_name</param>
<param name="expected" type="nil"/>
<param name="multi">True</param>
<target>outgoing_ports</target>
</fill>
</constraints>
</rougail> </rougail>