12345678910111213141516171819202122232425 |
- {% if ansible_controlled is defined and ansible_controlled != "" %}
- #
- # {{ ansible_controlled }}
- #
- {% endif %}
- <IfModule proxy_module>
- # Do not proxy ACME challenge responses
- ProxyPass /.well-known/acme-challenge/ !
- </IfModule>
- <IfModule !alias_module>
- # Load the alias module, if not loaded already
- Include /etc/apache2/mods-available/alias.load
- Include /etc/apache2/mods-available/alias.conf
- </IfModule>
- <IfModule alias_module>
- # Serve ACME challenge responses
- Alias /.well-known/acme-challenge/ /var/lib/dehydrated/acme-challenges/
- </IfModule>
- <Directory /var/lib/dehydrated/acme-challenges/>
- Options FollowSymlinks
- Options -Indexes
- AllowOverride None
- Require all granted
- Satisfy Any
- </Directory>
|