Updates
- apache2 config - dockerfile changes
This commit is contained in:
parent
c128fd5032
commit
7ffda3b2a5
42 changed files with 1488 additions and 86 deletions
17
apache2/conf/security.conf
Normal file
17
apache2/conf/security.conf
Normal file
|
@ -0,0 +1,17 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue