projects
/
ansible.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
permit configuring mail system hostname
[ansible.git]
/
roles
/
apache
/
templates
/
000-default.conf
1
# redirect all undefined virtual hosts to {{ apache.default_host }}
2
<VirtualHost *:80>
3
Redirect temp / https://{{ apache.default_host }}/
4
</VirtualHost>
5
{% if 'letsencrypt' in group_names %}
6
<VirtualHost *:443>
7
Use SSL letsencrypt/live
8
Redirect temp / https://{{ apache.default_host }}/
9
</VirtualHost>
10
{% endif %}