From: Ian Kelling Date: Fri, 5 May 2017 15:51:49 +0000 (-0700) Subject: small doc addition X-Git-Url: https://iankelling.org/git/?p=basic-https-conf;a=commitdiff_plain;h=2a4e0bddd5bde27197fe3de40e410b5b3a89765c;hp=452c9b3203296546a1ae6c21fa4de5701a73f82a small doc addition --- diff --git a/web-conf b/web-conf index 4dc3974..881c68d 100755 --- a/web-conf +++ b/web-conf @@ -52,7 +52,7 @@ EOF ssl=true extra_settings= port=443 -temp=$(getopt -l help e:i:f:p:r:h "$@") || usage 1 +temp=$(getopt -l help e:if:p:r:h "$@") || usage 1 eval set -- "$temp" while true; do case $1 in @@ -115,6 +115,7 @@ fi if $ssl; then f=$cert_dir/fullchain.pem if [[ ! -e $f ]] || openssl x509 -checkend 86400 -noout -in $f; then + # cerbot needs an existing virtualhost. $0 -p 80 $t $h # when generating an example config, add all relevant security options: # --hsts --staple-ocsp --uir