]> git.openstreetmap.org Git - chef.git/commitdiff
osqa: remove search, replaced with duckduckgo iframe
authorGrant Slater <github@firefishy.com>
Wed, 10 Apr 2024 17:04:27 +0000 (18:04 +0100)
committerGrant Slater <github@firefishy.com>
Wed, 10 Apr 2024 17:04:27 +0000 (18:04 +0100)
cookbooks/osqa/templates/default/apache.erb

index 74a81cf2a9897e298565008b50847aec5a41d7ad..1ef85c0404c2258d9a1affde81640f811ed69746 100644 (file)
@@ -67,6 +67,10 @@ WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> processes=4
     Require all denied
     ErrorDocument 403 "help.openstreetmap.org is closed. Use community.openstreetmap.org instead."
   </Location>
+  <Location /search/>
+    Require all denied
+    ErrorDocument 403 "help.openstreetmap.org is closed. Use community.openstreetmap.org instead."
+  </Location>
   RewriteEngine on
   RewriteCond %{REQUEST_METHOD} POST
   RewriteRule ^/questions - [F,NC]