forked from evolix/ansible-roles
Add redirectMath 404 on http request /.git by default
This commit is contained in:
parent
7c7ccf07eb
commit
7bb7b22d1f
|
@ -57,3 +57,6 @@ MaxKeepAliveRequests 10
|
|||
<LocationMatch "^/evolinux_fpm_status-.*">
|
||||
Require all denied
|
||||
</LocationMatch>
|
||||
|
||||
# Block http request on /.git
|
||||
RedirectMatch 404 /\.git
|
||||
|
|
Loading…
Reference in a new issue