aboutsummaryrefslogblamecommitdiffstats
path: root/roles/httpd/templates/httpd.conf.j2
blob: 49e928d0e7ab31494849945f307dfe140bd4db2e (plain) (tree)
1
2
3
4
5
6
7
8
9


                    


                                       

 
               










                                                                 
 
                                                 

                         
# managed by Ansible

types {
{% for type in httpd_supported_types %}
	{{ type }}
{% endfor %}
}

server "acme" {
	listen on localhost port 8888

	location "/.well-known/acme-challenge/*" {
		root "/acme"
		request strip 2
	}

	location * {
		block return 302 "https://$HTTP_HOST$REQUEST_URI"
	}
}

{% for file in httpd_configuration_files.files %}
include "{{ file.path }}"
{% endfor %}
remember that computers suck.