123456789101112131415161718192021222324 |
- {% if ansible_prolog -%}
- {% from 'templates/ansible/prolog.j2' import prolog with context %}
- {{ prolog() }}
- {% 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>
|