Another URI to block

This commit is contained in:
Jason Rothstein 2022-05-08 17:40:43 -05:00
parent 6767bdf12c
commit 79e6e39112
2 changed files with 6 additions and 0 deletions

View File

@ -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>

View File

@ -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>