Hello people
When installing Docker on a public server, the folder below is exposed, that is, you can access it directly: IP/icons
/var/lib/docker/overlay2/xxxxxxxxx/diff/usr/share/apache2/icons/
How do I block access to this folder?
I tried blocking with htaccess Options -Indexes, but it did not work.
Could someone give me a tip?
Thank you
Protect folder on web server
-
- Posts: 11
- Joined: 2019/05/28 11:49:37
Re: Protect folder on web server
I was able to identify where the blockade is.
The alias is inside this file:
/etc/httpd/conf.d/autoindex.conf
The alias is inside this file:
/etc/httpd/conf.d/autoindex.conf