Another URI to block
This commit is contained in:
		| @@ -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> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user