cp key to /var/www/html
parent
10146dd6a4
commit
42163afdf7
|
@ -12,6 +12,9 @@ cp /speedtest/*.js /var/www/html/
|
||||||
# Copy favicon
|
# Copy favicon
|
||||||
cp /speedtest/favicon.ico /var/www/html/
|
cp /speedtest/favicon.ico /var/www/html/
|
||||||
|
|
||||||
|
# Copy public key
|
||||||
|
cp /speedtest/librespeed-public-key.asc /var/www/html/
|
||||||
|
|
||||||
# Set custom webroot on alpine
|
# Set custom webroot on alpine
|
||||||
if [ -f /etc/alpine-release ]; then
|
if [ -f /etc/alpine-release ]; then
|
||||||
sed -i "s#\"/var/www/localhost/htdocs\"#\"/var/www/html\"#g" /etc/apache2/httpd.conf
|
sed -i "s#\"/var/www/localhost/htdocs\"#\"/var/www/html\"#g" /etc/apache2/httpd.conf
|
||||||
|
|
Loading…
Reference in New Issue