X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f19de748613df03e8accb6f112a98ab2ca468655..23b449a94ef4ffc4746775f6a6d6b88c8a1c46c9:/cookbooks/otrs/templates/default/apache.erb diff --git a/cookbooks/otrs/templates/default/apache.erb b/cookbooks/otrs/templates/default/apache.erb index 3b889ce3d..e392d8765 100644 --- a/cookbooks/otrs/templates/default/apache.erb +++ b/cookbooks/otrs/templates/default/apache.erb @@ -7,6 +7,7 @@ CustomLog /var/log/apache2/<%= @name %>-access.log combined ErrorLog /var/log/apache2/<%= @name %>-error.log + RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ RedirectPermanent / https://otrs.openstreetmap.org/ @@ -18,6 +19,8 @@ ErrorLog /var/log/apache2/<%= @name %>-error.log SSLEngine on + SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem + SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key ScriptAlias /otrs/ /opt/otrs/bin/cgi-bin/ Alias /otrs-web/ /opt/otrs/var/httpd/htdocs/