Skip to content

Commit d16bb60

Browse files
author
Reece Bullers
committed
Update nginx-dynamic.sh
1 parent 50ed2c4 commit d16bb60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/nginx-dynamic.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Autowhitelist multiple DDNS Addresses for nginx
33
# Author: Mike from https://guides.wp-bullet.com/
44

5-
echo "DDNS=$DDNS_HOST" > /etc/environment
5+
echo "DDNS_HOST=$DDNS_HOST" > /etc/environment
66
#define Dynamic DNS addresses here
7-
DDNS=($1)
7+
DDNS=($DDNS_HOST)
88

99
#create an array of the dynamic IPs
1010
if [ ! -f /etc/nginx/conf.d/dynamicips ]; then

0 commit comments

Comments
 (0)