Another URI to block
This commit is contained in:
parent
6767bdf12c
commit
79e6e39112
@ -61,6 +61,9 @@ MDomain {{ item.fqdn }}
|
|||||||
{% if item.redirect is defined %}
|
{% if item.redirect is defined %}
|
||||||
RedirectMatch "^(?!/\.well-known/).*" {{ item.redirect }}
|
RedirectMatch "^(?!/\.well-known/).*" {{ item.redirect }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<Location /.env>
|
||||||
|
Require all denied
|
||||||
|
</Location>
|
||||||
<Location /.git>
|
<Location /.git>
|
||||||
Require all denied
|
Require all denied
|
||||||
</Location>
|
</Location>
|
||||||
|
@ -61,6 +61,9 @@ MDomain {{ item.fqdn }}
|
|||||||
{% if item.redirect is defined %}
|
{% if item.redirect is defined %}
|
||||||
RedirectMatch "^(?!/\.well-known/).*" {{ item.redirect }}
|
RedirectMatch "^(?!/\.well-known/).*" {{ item.redirect }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<Location /.env>
|
||||||
|
Require all denied
|
||||||
|
</Location>
|
||||||
<Location /.git>
|
<Location /.git>
|
||||||
Require all denied
|
Require all denied
|
||||||
</Location>
|
</Location>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user