]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/trac/templates/default/apache.erb
Remove arcfour (RC4) cipher no longer available in newer OpenSSH
[chef.git] / cookbooks / trac / templates / default / apache.erb
index eb53ae7ecb3d0ec51dd4fb4b1e14abd5a728b97d..f309b50f83724f6ae19e6a8ed5a93a65cebeb2d6 100644 (file)
@@ -16,6 +16,8 @@ WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> maximum-req
         ServerName <%= @name %>
         ServerAdmin webmaster@openstreetmap.org
 
+        SSLEngine on
+
         CustomLog /var/log/apache2/<%= @name %>-access.log combined
         ErrorLog /var/log/apache2/<%= @name %>-error.log
 
@@ -34,6 +36,12 @@ WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> maximum-req
                AuthExternal osm
                Require valid-user
        </Location>
-
-        SSLEngine on
 </VirtualHost>
+
+<Directory <%= @directory %>/htdocs>
+       Require all granted
+</Directory>
+
+<Directory <%= @directory %>/cgi-bin>
+       Require all granted
+</Directory>