summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-08-07 22:59:34 +0200
committerPatrick Spek <p.spek@tyil.nl>2024-08-07 23:01:30 +0200
commitef8ff2232f469fc7c01a28d4e9b0e11052c864b7 (patch)
treea28dddc72e72e54ad22b3c8fc7535ea099609b05
parent973b55e65e59df2a41548736cd8b119e5d87e716 (diff)
downloadcgit-ef8ff2232f469fc7c01a28d4e9b0e11052c864b7.tar.gz
cgit-ef8ff2232f469fc7c01a28d4e9b0e11052c864b7.tar.bz2
Hide server tokens
-rw-r--r--conf.d/httpd.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.d/httpd.conf b/conf.d/httpd.conf
index 5653330..21558de 100644
--- a/conf.d/httpd.conf
+++ b/conf.d/httpd.conf
@@ -10,6 +10,9 @@ LoadModule unixd_module lib/apache2/mod_unixd.so
TypesConfig /etc/apache2/mime.types
+ServerSignature Off
+ServerTokens Prod
+
ServerName "${HOSTNAME}"
Listen *:${HTTPD_LISTEN_PORT}