mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 02:45:39 +00:00
Disable file browsing (#5922)
* Added cron to list of packages * Disable file browsing from the public directory
This commit is contained in:
@ -20,6 +20,7 @@ vim \
|
||||
git \
|
||||
cron \
|
||||
mysql-client \
|
||||
cron \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user