X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/48217a85b90d2c4b3378b65206b6c5e2686c2a94..a8930abf977175e1034465cb4e93d4d3673e366c:/cookbooks/dev/templates/default/apache.apis.erb diff --git a/cookbooks/dev/templates/default/apache.apis.erb b/cookbooks/dev/templates/default/apache.apis.erb index 3a7a58688..4d78fdd6a 100644 --- a/cookbooks/dev/templates/default/apache.apis.erb +++ b/cookbooks/dev/templates/default/apache.apis.erb @@ -1,15 +1,28 @@ # DO NOT EDIT - This file is being maintained by Chef - + ServerName apis.dev.openstreetmap.org ServerAdmin webmaster@openstreetmap.org + SSLEngine on + SSLCertificateFile /etc/ssl/certs/apis.dev.openstreetmap.org.pem + SSLCertificateKeyFile /etc/ssl/private/apis.dev.openstreetmap.org.key + + CustomLog /var/log/apache2/apis.dev.openstreetmap.org-access.log combined_extended + ErrorLog /var/log/apache2/apis.dev.openstreetmap.org-error.log + DocumentRoot /srv/apis.dev.openstreetmap.org + + + + ServerName apis.dev.openstreetmap.org + ServerAdmin webmaster@openstreetmap.org - CustomLog /var/log/apache2/apis.dev.openstreetmap.org-access.log combined + CustomLog /var/log/apache2/apis.dev.openstreetmap.org-access.log combined_extended ErrorLog /var/log/apache2/apis.dev.openstreetmap.org-error.log - AddOutputFilterByType DEFLATE image/svg+xml + RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ + RedirectPermanent / https://apis.dev.openstreetmap.org/