dataset/seed/nginx-reverse-proxy/dictionaries/25_nginx.xml
2023-08-29 10:37:29 +02:00

37 lines
2.1 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<services>
<service name='nginx'>
<override engine="ansible"/>
<!--certificate authority="External" owner="nginx" type="server">nginx</certificate-->
<certificate authority="External" owner="nginx" type="server" domain="nginx.revprox_domainnames" provider="nginx_certificates_provider" certificate_type="variable">nginx.revprox_domainnames</certificate>
<certificate server="last_server_name" authority="InternalReverseProxy">revprox</certificate>
<file engine="none" source="nginx-options-rp.conf">/etc/nginx/conf.d/options-rp.conf</file>
<file engine="ansible" source="revprox-nginx.conf">/etc/nginx/conf.d/risotto.conf</file>
<file engine="ansible" filelist="copy_tests">/tests/reverse-proxy.yml</file>
<file engine="none">/var/www/html/error.html</file>
</service>
</services>
<variables>
<family name="network">
<variable name="incoming_ports" redefine="True">
<value>80</value>
<value>443</value>
</variable>
</family>
<family name="nginx" description="NGINX">
<variable name="nginx_default" redefine="True" mandatory="True" hidden="False" description="Default reverse proxy domaine name" help="If a client access to reverse proxy with an unknown domain name, the connexion is redirect to this domain name. By default this variable is the first associated service to this reverse proxy" mode="basic"/>
<variable name="nginx_default_http" redefine="True">
<value>False</value>
</variable>
<variable name="nginx_default_https" redefine="True">
<value>False</value>
</variable>
<variable name="nginx_certificates_provider" type="choice" description="Type of certificate autority signing external certificates" mandatory="True" mode="basic" help="The certificate can be self-signed (therefore invalid by default for the client) or obtained via the Let's Encrypt service (generally valid for the client)">
<value>self-signed</value>
<choice>self-signed</choice>
<choice>letsencrypt</choice>
</variable>
</family>
</variables>
</rougail>