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