default user/pass for private-hosting.tpl

This commit is contained in:
myvesta 2023-01-31 18:01:56 +01:00 committed by GitHub
commit 08146520a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1071,6 +1071,10 @@ if [ "$nginx" = 'yes' ]; then
cp -f $vestacp/nginx/phppgadmin.inc /etc/nginx/conf.d/
cp -f $vestacp/nginx/webmail.inc /etc/nginx/conf.d/
cp -f $vestacp/logrotate/nginx /etc/logrotate.d/
# default user/pass for private-hosting.tpl: private / folder
echo 'private:$apr1$0MYnchM5$yVi/OTfp7o3lGNst/a8.90' > /etc/nginx/.htpasswd
echo > /etc/nginx/conf.d/vesta.conf
mkdir -p /var/log/nginx/domains
#update-rc.d nginx defaults