summaryrefslogtreecommitdiff
path: root/files/apache/vhost-obs.conf
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2023-11-19 21:51:49 -0600
committerBenjamin Copeland <ben.copeland@linaro.org>2023-11-20 09:15:59 +0000
commit30a2015fad8b63117eb84383fe3176dce01c9474 (patch)
tree2fcdc3162a9087108ab3c72a642bc77238a141f9 /files/apache/vhost-obs.conf
parentb373c97a099fe95d7ab3ad361c8c338a537d3e81 (diff)
apache: centralize a list of bad user agents
This change centralizes our list of bad user agents and puts it into one file to be maintained across all of our websites. Change-Id: I0e24b6b9713ac7eeed957a5b184303371f9cc485 Signed-off-by: Kelley Spoon <kelley.spoon@linaro.org> Reviewed-on: https://review.linaro.org/c/infrastructure/ansible-playbooks/+/46189 Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
Diffstat (limited to 'files/apache/vhost-obs.conf')
-rw-r--r--files/apache/vhost-obs.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/apache/vhost-obs.conf b/files/apache/vhost-obs.conf
index 5c8b0a43..41598459 100644
--- a/files/apache/vhost-obs.conf
+++ b/files/apache/vhost-obs.conf
@@ -14,6 +14,7 @@
RewriteEngine on
Include /etc/apache2/linaro/letsencrypt.conf
+ Include /etc/apache2/linaro/block-refs.conf
<Directory "/srv/obs.linaro.org">
AllowOverride None
@@ -42,6 +43,9 @@
SSLCertificateKeyFile {{ssl_key}}
SSLCACertificateFile {{ssl_ca}}
+ RewriteEngine On
+ Include /etc/apache2/linaro/block-refs.conf
+
<Directory "/srv/obs.linaro.org">
AllowOverride None
Require all granted