]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/templates/default/apache.erb
Revert "nominatim: improve IP query block expression"
[chef.git] / cookbooks / chef / templates / default / apache.erb
index 4f57bba7de7ca2d6844cba5a076082803216fb9f..917759a7cb4b1d2823b27460e643ebb7874e7a04 100644 (file)
@@ -5,7 +5,7 @@
        ServerAlias chef.osm.org
        ServerAdmin webmaster@openstreetmap.org
 
-       CustomLog /var/log/apache2/chef.openstreetmap.org-access.log combined
+       CustomLog /var/log/apache2/chef.openstreetmap.org-access.log combined_extended
        ErrorLog /var/log/apache2/chef.openstreetmap.org-error.log
 
        RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
        ServerName chef.openstreetmap.org
        ServerAdmin webmaster@openstreetmap.org
 
-       CustomLog /var/log/apache2/chef.openstreetmap.org-access.log combined
+       CustomLog /var/log/apache2/chef.openstreetmap.org-access.log combined_extended
        ErrorLog /var/log/apache2/chef.openstreetmap.org-error.log
 
-       DocumentRoot /var/lib/git
-
        SSLEngine on
        SSLProxyEngine on
        SSLCertificateFile /etc/ssl/certs/chef.openstreetmap.org.pem
@@ -30,7 +28,3 @@
        ProxyPass / https://<%= node[:fqdn] %>:4443/
        ProxyPreserveHost on
 </VirtualHost>
-
-<Directory /var/lib/git>
-       Require ip <%= @git_allowed.sort.join(" ") %>
-</Directory>