iankelling.org
/
git
/
basic-https-conf
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small doc update
[basic-https-conf]
/
nginx-site
diff --git
a/nginx-site
b/nginx-site
index 9ddb7766acb02f1b73f1abd37d9b5e56b5193b7b..e2c046fcb6e233d0285c0c2b67788ba1b6c3f9ea 100755
(executable)
--- a/
nginx-site
+++ b/
nginx-site
@@
-20,6
+20,8
@@
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
usage() {
cat <<EOF
Usage: ${0##*/} [EXTRA_SETTINGS_FILE] DOMAIN
usage() {
cat <<EOF
Usage: ${0##*/} [EXTRA_SETTINGS_FILE] DOMAIN
+Note: this is less tested and mature than the apache site script.
+
Setup nginx config with https using
ssl config provided by let's encrypt and my standard
location for storing certs.
Setup nginx config with https using
ssl config provided by let's encrypt and my standard
location for storing certs.
@@
-27,9
+29,7
@@
location for storing certs.
EXTRA_SETTINGS_FILE can be - for stdin
-p PORT Proxy to PORT
-h|--help Print help and exit
EXTRA_SETTINGS_FILE can be - for stdin
-p PORT Proxy to PORT
-h|--help Print help and exit
--- Subsequent arguments are never treated as options
-Note: options and non-options can be in any order.
TODO: add https redir site.
EOF
exit $1
TODO: add https redir site.
EOF
exit $1