Only block what is actually going to be in a docroot
This commit is contained in:
		| @@ -79,24 +79,9 @@ | |||||||
|   ProxyPassReverse "/" "{{ item.proxy }}" |   ProxyPassReverse "/" "{{ item.proxy }}" | ||||||
|   ProxyTimeout 300 |   ProxyTimeout 300 | ||||||
| {% endif %} | {% endif %} | ||||||
|   <Location /.ansible> |  | ||||||
|     Require all denied |  | ||||||
|   </Location> |  | ||||||
|   <Location /.cache> |  | ||||||
|     Require all denied |  | ||||||
|   </Location> |  | ||||||
|   <Location /.config> |  | ||||||
|     Require all denied |  | ||||||
|   </Location> |  | ||||||
|   <Location /.local> |  | ||||||
|     Require all denied |  | ||||||
|   </Location> |  | ||||||
|   <Location /.git> |   <Location /.git> | ||||||
|     Require all denied |     Require all denied | ||||||
|   </Location> |   </Location> | ||||||
|   <Location /.ssh> |  | ||||||
|     Require all denied |  | ||||||
|   </Location> |  | ||||||
| </VirtualHost> | </VirtualHost> | ||||||
|  |  | ||||||
| {% endfor %} | {% endfor %} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user