mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Disable file browsing (#5922)
* Added cron to list of packages * Disable file browsing from the public directory
This commit is contained in:
parent
66c3f5432d
commit
ef1e8df001
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue