summaryrefslogtreecommitdiff
path: root/files/apache/mi.linaro.org.conf
diff options
context:
space:
mode:
Diffstat (limited to 'files/apache/mi.linaro.org.conf')
-rw-r--r--files/apache/mi.linaro.org.conf39
1 files changed, 0 insertions, 39 deletions
diff --git a/files/apache/mi.linaro.org.conf b/files/apache/mi.linaro.org.conf
deleted file mode 100644
index e6e57706..00000000
--- a/files/apache/mi.linaro.org.conf
+++ /dev/null
@@ -1,39 +0,0 @@
-<VirtualHost *:80>
- ServerName {{inventory_hostname}}
- ServerAlias {{inventory_hostname}}
-
- RedirectMatch permanent "^/(?!\.well-known/acme-challenge)(.*)" "https://{{hostname}}/$1"
-
- Alias "/.well-known/acme-challenge/" "/srv/certbot/.well-known/acme-challenge/"
- <Directory "/srv/certbot/.well-known/acme-challenge/">
- Require all granted
- </Directory>
-
-</VirtualHost>
-
-<VirtualHost *:443>
- ServerName {{inventory_hostname}}
- ServerAlias {{inventory_hostname}}
-
- SSLEngine On
-
- SSLCertificateFile /etc/letsencrypt/live/{{gerrit_host}}/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/{{gerrit_host}}/privkey.pem
- SSLCACertificateFile /etc/letsencrypt/live/{{gerrit_host}}/fullchain.pem
-
- DocumentRoot /srv/gerrit
-
- CustomLog /var/log/apache2/{{inventory_hostname}}-access.log combined
- ErrorLog /var/log/apache2/{{inventory_hostname}}-error.log
-
- ProxyRequests Off
- ProxyVia Off
- ProxyPreserveHost On
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
-
- AllowEncodedSlashes On
- ProxyPass / http://127.0.0.1:8080/ nocanon
-</VirtualHost>