X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/21215b4694db988a3e31a285f2b291a5f42bbf14..745ff8bfc4d705ad3d1dd8f115ed01949c6b6a68:/cookbooks/dev/templates/default/apache.apis.erb?ds=sidebyside diff --git a/cookbooks/dev/templates/default/apache.apis.erb b/cookbooks/dev/templates/default/apache.apis.erb index 1afec5c93..c1eddbdb2 100644 --- a/cookbooks/dev/templates/default/apache.apis.erb +++ b/cookbooks/dev/templates/default/apache.apis.erb @@ -1,13 +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 + 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 ErrorLog /var/log/apache2/apis.dev.openstreetmap.org-error.log + + RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ + RedirectPermanent / https://apis.dev.openstreetmap.org/