Skip to content

Commit 7da9d3a

Browse files
committed
Add more silence to apache output and logs
* No more server version strings in output (security) * Silence some unneeded SSL logs
1 parent 7331852 commit 7da9d3a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

files/httpd-vhost-global.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,12 @@
44
Require all granted
55
</Directory>
66

7+
# Some security settings (hide version, disable trace, etc.)
8+
ServerTokens Prod
9+
ServerSignature Off
10+
TraceEnable Off
11+
12+
# Lower SSL logging to avoid excessive noise
13+
LogLevel warn ssl:warn
14+
715
# Listen directives will be added here by entrypoint.sh based on WEB_PORT_HTTP and WEB_PORT_HTTPS:

0 commit comments

Comments
 (0)