aboutsummaryrefslogtreecommitdiffstats
path: root/roles/httpd
diff options
context:
space:
mode:
Diffstat (limited to 'roles/httpd')
-rw-r--r--roles/httpd/templates/httpd.conf.j223
1 files changed, 12 insertions, 11 deletions
diff --git a/roles/httpd/templates/httpd.conf.j2 b/roles/httpd/templates/httpd.conf.j2
index aef96c5..a39f46f 100644
--- a/roles/httpd/templates/httpd.conf.j2
+++ b/roles/httpd/templates/httpd.conf.j2
@@ -3,27 +3,28 @@
# managed by Ansible
types {
- text/plain txt pgp pub
- text/html html htm
text/css css
- image/svg+xml svg
- image/jpeg jpeg jpg
+ 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 ansible_host == global.dcontroller %}
server "default" {
- listen on localhost port 8888
+ listen on localhost port 8888
location "/.well-known/acme-challenge/*" {
- root "/acme"
- request strip 2
- }
+ root "/acme"
+ request strip 2
+ }
- location * {
- block return 302 "https://\$HTTP_HOST\$REQUEST_URI"
- }
+ location * {
+ block return 302 "https://\$HTTP_HOST\$REQUEST_URI"
+ }
}
{% endif %}
remember that computers suck.