Kaynağa Gözat

Add resolver IPs to Hestia's nginx.conf

Alexandros Ioannides 6 yıl önce
ebeveyn
işleme
2b56ebf384
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      install/hst-install-ubuntu.sh

+ 1 - 0
install/hst-install-ubuntu.sh

@@ -1163,6 +1163,7 @@ if [ "$nginx" = 'yes' ]; then
     done
     done
     if [ ! -z "$resolver" ]; then
     if [ ! -z "$resolver" ]; then
         sed -i "s/1.0.0.1 1.1.1.1/$resolver/g" /etc/nginx/nginx.conf
         sed -i "s/1.0.0.1 1.1.1.1/$resolver/g" /etc/nginx/nginx.conf
+        sed -i "s/1.0.0.1 1.1.1.1/$resolver/g" /usr/local/hestia/nginx/conf/nginx.conf
     fi
     fi
 
 
     update-rc.d nginx defaults > /dev/null 2>&1
     update-rc.d nginx defaults > /dev/null 2>&1