Add redirectMath 404 on http request /.git by default
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
7c7ccf07eb
commit
7bb7b22d1f
|
@ -57,3 +57,6 @@ MaxKeepAliveRequests 10
|
||||||
<LocationMatch "^/evolinux_fpm_status-.*">
|
<LocationMatch "^/evolinux_fpm_status-.*">
|
||||||
Require all denied
|
Require all denied
|
||||||
</LocationMatch>
|
</LocationMatch>
|
||||||
|
|
||||||
|
# Block http request on /.git
|
||||||
|
RedirectMatch 404 /\.git
|
||||||
|
|
Loading…
Reference in a new issue