dataset/seed/nginx-static/dictionaries/22_nginx_static.xml
2023-02-14 14:24:16 +01:00

25 lines
829 B
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<services>
<service name='nginx' target='multi-user'>
<file source="tmpfiles.nginx_static.conf">/tmpfiles.d/0static.conf</file>
<file source="index.html" file_type="variable">nginx_index_file</file>
</service>
</services>
<variables>
<family name="nginx">
<variable name="nginx_root" redefine="True" mandatory='True'>
<value>/srv/static</value>
</variable>
<variable name="nginx_index_file" type="filename" mandatory='True' hidden="True"/>
</family>
</variables>
<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>
</rougail>