mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Creating /etc/nginx/.htpasswd if it does not exist
This commit is contained in:
parent
780f637325
commit
bfd822092c
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,11 @@ if [ "$release" -eq 11 ]; then
|
|||
sed -i "s/yescrypt/sha512/g" /etc/pam.d/common-password
|
||||
fi
|
||||
|
||||
# Creating /etc/nginx/.htpasswd if it does not exist
|
||||
if [ ! -f "/etc/nginx/.htpasswd" ]; then
|
||||
echo 'private:$apr1$0MYnchM5$yVi/OTfp7o3lGNst/a8.90' > /etc/nginx/.htpasswd
|
||||
fi
|
||||
|
||||
# Fixing Gmail hosts_try_fastopen in Exim4
|
||||
if [ "$release" -eq 11 ]; then
|
||||
if [ -f "/etc/exim4/exim4.conf.template" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue