Commit 0af97f59 authored by Natanael Copa's avatar Natanael Copa

setup-acf: use mini_httpd's default config and logfile

parent 69953379
......@@ -93,7 +93,6 @@ cat >/etc/mini_httpd.conf <<EOF
nochroot
dir=/var/www/localhost/htdocs
user=nobody
logfile=/var/log/mini_httpd.log
cgipat=cgi-bin**
certfile=$PEMFILE
port=443
......@@ -103,11 +102,6 @@ if [ -n "$address" ]; then
echo "host=$address" >> /etc/mini_httpd.conf
fi
cat >/etc/conf.d/mini_httpd <<EOF
MINI_HTTPD_OPTS="-C /etc/mini_httpd.conf"
MINI_HTTPD_DOCROOT=/var/www/localhost/htdocs
EOF
rc-update -q add mini_httpd default
/etc/init.d/mini_httpd restart
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment