We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50ed2c4 commit d16bb60Copy full SHA for d16bb60
scripts/nginx-dynamic.sh
@@ -2,9 +2,9 @@
2
# Autowhitelist multiple DDNS Addresses for nginx
3
# Author: Mike from https://guides.wp-bullet.com/
4
5
-echo "DDNS=$DDNS_HOST" > /etc/environment
+echo "DDNS_HOST=$DDNS_HOST" > /etc/environment
6
#define Dynamic DNS addresses here
7
-DDNS=($1)
+DDNS=($DDNS_HOST)
8
9
#create an array of the dynamic IPs
10
if [ ! -f /etc/nginx/conf.d/dynamicips ]; then
0 commit comments