Only block what is actually going to be in a docroot
This commit is contained in:
parent
b6e25d1ab8
commit
754ce4a6f8
@ -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 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user