diff options
| author | Patrick Spek <p.spek@tyil.nl> | 2024-08-07 22:59:34 +0200 |
|---|---|---|
| committer | Patrick Spek <p.spek@tyil.nl> | 2024-08-07 23:01:30 +0200 |
| commit | ef8ff2232f469fc7c01a28d4e9b0e11052c864b7 (patch) | |
| tree | a28dddc72e72e54ad22b3c8fc7535ea099609b05 | |
| parent | 973b55e65e59df2a41548736cd8b119e5d87e716 (diff) | |
| download | cgit-ef8ff2232f469fc7c01a28d4e9b0e11052c864b7.tar.gz cgit-ef8ff2232f469fc7c01a28d4e9b0e11052c864b7.tar.bz2 | |
Hide server tokens
| -rw-r--r-- | conf.d/httpd.conf | 3 |
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} |
