From: Ian Kelling Date: Sun, 11 Oct 2020 12:53:18 +0000 (-0400) Subject: improve root email X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=8ee114fd5d931c49d85fb312fb9996bb66ca7449;p=basic-https-conf improve root email --- diff --git a/web-conf b/web-conf index e682259..db509d7 100755 --- a/web-conf +++ b/web-conf @@ -34,8 +34,8 @@ repo distro-setup, and log-quiet. EXTRA_SETTINGS_FILE can be - for stdin -e EMAIL Contact address for let's encrypt. Default is - root@\$(hostname -A|awk '{print $1}') - which is root@$(hostname -A|awk '{print $1}') on this host. + root@\$(hostname --fqdn') + which is root@$(hostname --fqdn) on this host. -f [ADDR:]PORT Enable proxy to [ADDR:]PORT. ADDR default is 127.0.0.1 -i Insecure, no ssl. -p PORT Main port to listen on, default 443. 80 implies -i. @@ -96,7 +96,7 @@ if [[ $proxy ]]; then fi if [[ ! $email ]]; then - email=root@$(hostname -A|awk '{print $1}') + email=root@$(hostname --fqdn) fi