blob: 59892a21989ed96d29fd33ba306f31b2034cffc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<VirtualHost *:80>
ServerName issues.trustedfirmware.org
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*$
RewriteCond %{HTTP_HOST} ^issues\.trustedfirmware\.org$ [NC]
RewriteRule ^ https://developer.trustedfirmware.org%{REQUEST_URI} [L,R=301]
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 issues.trustedfirmware.org
SSLEngine On
SSLCertificateFile {{ssl_cert}}
SSLCertificateKeyFile {{ssl_key}}
{% if ssl_ca is defined %}
SSLCACertificateFile {{ssl_ca}}
{% endif %}
DocumentRoot "{{phabricator_install_dir}}/webroot"
CustomLog /var/log/apache2/{{inventory_hostname}}-access.log combined
ErrorLog /var/log/apache2/{{inventory_hostname}}-error.log
LimitRequestBody 33554432
RewriteEngine on
RewriteCond %{HTTP_HOST} ^issues\.trustedfirmware\.org$ [NC]
RewriteRule ^ https://developer.trustedfirmware.org%{REQUEST_URI} [L,R=301]
</VirtualHost>
|