2022-10-01 18:58:20 +02:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<services>
|
|
|
|
<service name='nginx' target='multi-user'>
|
2023-06-23 08:12:05 +02:00
|
|
|
<file engine="ansible" source="tmpfiles.nginx_static.conf">/tmpfiles.d/0static.conf</file>
|
|
|
|
<file engine="none" source="index.html" file_type="variable">nginx_index_file</file>
|
2022-10-01 18:58:20 +02:00
|
|
|
</service>
|
|
|
|
</services>
|
|
|
|
<variables>
|
|
|
|
<family name="nginx">
|
2023-08-02 09:26:54 +02:00
|
|
|
<variable name="nginx_root" description="Adresse racine du site web" redefine="True" mandatory='True' hidden="False">
|
2022-10-01 18:58:20 +02:00
|
|
|
<value>/srv/static</value>
|
|
|
|
</variable>
|
2023-02-14 14:24:16 +01:00
|
|
|
<variable name="nginx_index_file" type="filename" mandatory='True' hidden="True"/>
|
2022-10-01 18:58:20 +02:00
|
|
|
</family>
|
|
|
|
</variables>
|
2023-02-14 14:24:16 +01:00
|
|
|
<constraints>
|
|
|
|
<fill name="calc_value">
|
|
|
|
<param type="variable">nginx_root</param>
|
|
|
|
<param>index.html</param>
|
|
|
|
<param name="join">/</param>
|
|
|
|
<target>nginx_index_file</target>
|
|
|
|
</fill>
|
|
|
|
</constraints>
|
2022-10-01 18:58:20 +02:00
|
|
|
</rougail>
|