X-Git-Url: https://iankelling.org/git/?p=basic-https-conf;a=blobdiff_plain;f=apache-site;h=9a22d2aad73a308d4bffc0b4fd6c6e2a85e2dcf7;hp=f537369ea2b1c9355d3c95cced18e582c54036fc;hb=17878ab5996f12d3f9d1ce602954bb2fbf357849;hpb=b6d31ac103c53debe4ad59fd34f63c1ca1a5e846 diff --git a/apache-site b/apache-site index f537369..9a22d2a 100755 --- a/apache-site +++ b/apache-site @@ -26,10 +26,10 @@ ssl config provided by let's encrypt and my standard location for storing certs. EXTRA_SETTINGS_FILE can be - for stdin --p PORT --i Insecure, no ssl -c CERT_DIR In priority: this arg, $ACME_TINY_WRAPPER_CERT_DIR, $HOME/webservercerts, if the other options aren't set. +-i Insecure, no ssl +-p PORT Main port to listen on, default 443 -r DocumentRoot -h|--help Print help and exit @@ -62,9 +62,9 @@ while true; do done if (( ${#@} == 2 )); then - read extra_settings h <<<"${@}" + read -r extra_settings h <<<"${@}" else - read h <<<"${@}" + read -r h <<<"${@}" fi if [[ ! $h ]]; then