docker/apache2/conf/security.conf
magmaus3 7ffda3b2a5
Updates
- apache2 config
- dockerfile changes
2023-04-16 13:35:31 +02:00

17 lines
529 B
ApacheConf

# 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