]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/otrs/templates/default/apache.erb
nominatim: add fail2ban filter for rate limited IP
[chef.git] / cookbooks / otrs / templates / default / apache.erb
index 4018c36a187510795edee0f326f943ec4130f30d..0a8735c5016d3faee5448f53f0bdce20b449bd73 100644 (file)
   </Location>
 </VirtualHost>
 
-  <Directory /opt/otrs/bin/cgi-bin>
-    AllowOverride None
-    Options +ExecCGI -Includes
-    Require all granted
-  </Directory>
+<Directory /opt/otrs/bin/cgi-bin>
+  AllowOverride None
+  Options +ExecCGI -Includes
+  Require all granted
+</Directory>
 
-  <Directory /opt/otrs/var/httpd/htdocs>
-    AllowOverride None
-    Require all granted
-  </Directory>
-
-  <Directory /opt/otrs/var/httpd/htdocs/skins/*/*/css-cache>
-    <FilesMatch "\.(css|CSS)$">
-      Header set Cache-Control "max-age=2592000 must-revalidate"
-    </FilesMatch>
-  </Directory>
-
-  <Directory /opt/otrs/var/httpd/htdocs/js/js-cache>
-    <FilesMatch "\.(js|JS)$">
-      Header set Cache-Control "max-age=2592000 must-revalidate"
-    </FilesMatch>
+<Directory /opt/otrs/var/httpd/htdocs>
+  AllowOverride None
+  Require all granted
+</Directory>
+
+<Directory /opt/otrs/var/httpd/htdocs/skins/*/*/css-cache>
+  <FilesMatch "\.(css|CSS)$">
+    Header set Cache-Control "max-age=2592000 must-revalidate"
+  </FilesMatch>
+</Directory>
+
+<Directory /opt/otrs/var/httpd/htdocs/js/js-cache>
+  <FilesMatch "\.(js|JS)$">
+    Header set Cache-Control "max-age=2592000 must-revalidate"
+  </FilesMatch>
 </Directory>