X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=web-conf;h=db509d7b3fc9ac1d654c01f7aea28828aaaa182e;hb=8ee114fd5d931c49d85fb312fb9996bb66ca7449;hp=e682259a053bebbdc5fe3a59a8f14279a3b1a36b;hpb=14753334d058cd515f82a0892411608abcd8223d;p=basic-https-conf 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