Browse Source

fix public_hostname

main
pvincent 2 months ago
parent
commit
493dfb598d
  1. 2
      scripts/miaou

2
scripts/miaou

@ -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

Loading…
Cancel
Save