Skip to content
Snippets Groups Projects
Commit 94b21327 authored by Andres Maldonado's avatar Andres Maldonado
Browse files

Add AUTOINDEX env variable

parent 392017ff
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,10 @@
set -e
if [ "$AUTOINDEX" = "true" ]; then
sed -i '/index index.php index.html index.htm;/a \ autoindex on;' /etc/nginx/nginx.conf
fi
chown -R www-data /var/www
mkdir -p /var/run/php
exec /usr/bin/supervisord -c /etc/supervisord.conf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment