mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-31 09:20:43 +08:00
Allow setting up a vhost for certgetter
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
server_aliases: []
|
||||
server_admin: webmaster@fedoraproject.org
|
||||
certbot: false
|
||||
ssl: true
|
||||
sslonly: false
|
||||
SSLCertificateChainFile: wildcard-2017.fedoraproject.org.intermediate.cert
|
||||
|
||||
@@ -10,6 +10,10 @@
|
||||
SetOutputFilter DEFLATE
|
||||
{% endif %}
|
||||
|
||||
{% if certbot %}
|
||||
ProxyPass "/.well-known/acme-challenge" "http://certgetter01/.well-known/acme-challenge"
|
||||
{% endif %}
|
||||
|
||||
{% if sslonly %}
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} off
|
||||
|
||||
Reference in New Issue
Block a user