Skip to content

Commit 2b56ebf

Browse files
Add resolver IPs to Hestia's nginx.conf
1 parent 8718c2e commit 2b56ebf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,7 @@ if [ "$nginx" = 'yes' ]; then
11631163
done
11641164
if [ ! -z "$resolver" ]; then
11651165
sed -i "s/1.0.0.1 1.1.1.1/$resolver/g" /etc/nginx/nginx.conf
1166+
sed -i "s/1.0.0.1 1.1.1.1/$resolver/g" /usr/local/hestia/nginx/conf/nginx.conf
11661167
fi
11671168

11681169
update-rc.d nginx defaults > /dev/null 2>&1

0 commit comments

Comments
 (0)