blob: 6285d7064fc7e788568729d1ecc72f9d7a889084 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# managed by Ansible
types {
text/css css
text/html html htm
text/plain txt pgp pub
image/gif gif
image/jpeg jpeg jpg
image/png png
image/svg+xml svg
application/xml xml rss
}
{% if inventory_hostname == __global_domain_controller %}
server "default" {
listen on localhost port 8888
location "/.well-known/acme-challenge/*" {
root "/acme"
request strip 2
}
location * {
block return 302 "https://$HTTP_HOST$REQUEST_URI"
}
}
{% endif %}
{% for file in configuration_files.files %}
include "{{ file.path }}"
{% endfor %}
|