docker/apache2/conf/security.conf

18 lines
529 B
Text
Raw Permalink Normal View History

# ServerTokens
# This directive configures what you return as the Server HTTP response
# Header. The default is 'Full' which sends information about the OS-Type
# and compiled in modules.
# Set to one of: Full | OS | Minimal | Minor | Major | Prod
# where Full conveys the most information, and Prod the least.
#ServerTokens Minimal
ServerTokens Prod
ServerSignature On
TraceEnable Off
# Disable access to git files
<DirectoryMatch "/\.git">
Require all denied
</DirectoryMatch>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet