Skip to content

Commit

Permalink
Disable file browsing (snipe#5922)
Browse files Browse the repository at this point in the history
* Added cron to list of packages

* Disable file browsing from the public directory
  • Loading branch information
EarlRamirez authored and snipe committed Jul 24, 2018
1 parent 66c3f54 commit ef1e8df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ vim \
git \
cron \
mysql-client \
cron \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand Down
2 changes: 1 addition & 1 deletion snipeit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ef1e8df

Please sign in to comment.