Skip to content

A free open source IT asset/license management system

Disable file browsing (#5922)

Earl Ramirezef1e8df00110
diff --git a/Dockerfile b/Dockerfile
index acd69f5a3f..f13fa9ea61 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,6 +20,7 @@ vim \
git \
cron \
mysql-client \
+cron \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
diff --git a/snipeit.sh b/snipeit.sh
index 0a28e29407..48be3a9797 100755
--- a/snipeit.sh
+++ b/snipeit.sh
@@ -134,7 +134,7 @@ create_virtualhost () {
echo " <Directory $APP_PATH/public>"
echo " Allow From All"
echo " AllowOverride All"
- echo " Options +Indexes"
+ echo " Options -Indexes"
echo " </Directory>"
echo ""
echo " DocumentRoot $APP_PATH/public"