summaryrefslogtreecommitdiffstats
path: root/debian/config-dir/conf-available
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:05:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:05:56 +0000
commit1841a37a2581afc4e50b2d0ebefee19d55db12d9 (patch)
treee9e8735ff2c71c23128f8fb2a8f977896fa7e7a2 /debian/config-dir/conf-available
parentSetting Referrer-Policy to no-referrer. (diff)
downloadapache2-1841a37a2581afc4e50b2d0ebefee19d55db12d9.tar.xz
apache2-1841a37a2581afc4e50b2d0ebefee19d55db12d9.zip
Setting X-Content-Type-Options to nosniff.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/config-dir/conf-available')
-rw-r--r--debian/config-dir/conf-available/no-sniff.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/config-dir/conf-available/no-sniff.conf b/debian/config-dir/conf-available/no-sniff.conf
new file mode 100644
index 0000000..9cf63bb
--- /dev/null
+++ b/debian/config-dir/conf-available/no-sniff.conf
@@ -0,0 +1,5 @@
+# /etc/apache2/conf-available/no-sniff.conf
+
+<IfModule mod_headers.c>
+ Header always set X-Content-Type-Options "nosniff"
+</IfModule>