X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0515f31b3462cc9720580a6b60d57914b241bfa2..5bb7bf7aa78aa8bc9876f3ec3502572f4b6809d3:/cookbooks/otrs/templates/default/apache.erb?ds=sidebyside diff --git a/cookbooks/otrs/templates/default/apache.erb b/cookbooks/otrs/templates/default/apache.erb index 4018c36a1..a3605a966 100644 --- a/cookbooks/otrs/templates/default/apache.erb +++ b/cookbooks/otrs/templates/default/apache.erb @@ -7,7 +7,7 @@ <% end -%> ServerAdmin webmaster@openstreetmap.org - CustomLog /var/log/apache2/<%= @name %>-access.log combined + CustomLog /var/log/apache2/<%= @name %>-access.log combined_extended ErrorLog /var/log/apache2/<%= @name %>-error.log RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ @@ -26,7 +26,7 @@ SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key - CustomLog /var/log/apache2/<%= @name %>-access.log combined + CustomLog /var/log/apache2/<%= @name %>-access.log combined_extended ErrorLog /var/log/apache2/<%= @name %>-error.log RedirectPermanent / https://<%= @name %>/ @@ -37,7 +37,7 @@ ServerName <%= @name %> ServerAdmin webmaster@openstreetmap.org - CustomLog /var/log/apache2/<%= @name %>-access.log combined + CustomLog /var/log/apache2/<%= @name %>-access.log combined_extended ErrorLog /var/log/apache2/<%= @name %>-error.log SSLEngine on @@ -70,25 +70,25 @@ - - AllowOverride None - Options +ExecCGI -Includes - Require all granted - + + AllowOverride None + Options +ExecCGI -Includes + Require all granted + - - AllowOverride None - Require all granted - - - - - Header set Cache-Control "max-age=2592000 must-revalidate" - - - - - - Header set Cache-Control "max-age=2592000 must-revalidate" - + + AllowOverride None + Require all granted + + + + + Header set Cache-Control "max-age=2592000 must-revalidate" + + + + + + Header set Cache-Control "max-age=2592000 must-revalidate" +