From 2a4e0bddd5bde27197fe3de40e410b5b3a89765c Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 5 May 2017 08:51:49 -0700 Subject: [PATCH] small doc addition --- web-conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2