fix public_hostname
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ function build_dmz_certbot {
|
|||||||
subDomain=${fqdn%".${domain}"}
|
subDomain=${fqdn%".${domain}"}
|
||||||
|
|
||||||
echo "TODO: fqdn=${fqdn}, domain=${domain}"
|
echo "TODO: fqdn=${fqdn}, domain=${domain}"
|
||||||
local server_ip public_hostname
|
local server_ip
|
||||||
server_ip=$(dig +short A "$fqdn")
|
server_ip=$(dig +short A "$fqdn")
|
||||||
|
|
||||||
if [[ $server_ip == "$my_ip" ]]; then
|
if [[ $server_ip == "$my_ip" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user