add autocert config option to automatically create cert/key if they're defined but files don't exist

This commit is contained in:
Roni Väyrynen
2021-09-11 16:45:32 +03:00
parent b977ff2ae3
commit ca424d0b63
2 changed files with 21 additions and 4 deletions

View File

@@ -52,5 +52,7 @@ ARCH_CHECK="true"
PRESERVE="3"
# Location of pem certificate/key files. Installation will automatically configure HTTPS if these are defined. Remember to change PORT variable as well.
#PATH_TO_HTTPS_CERT=
#PATH_TO_HTTPS_KEY=
#PATH_TO_HTTPS_CERT=$INSTALLDIR/xo.crt
#PATH_TO_HTTPS_KEY=$INSTALLDIR/xo.key
# If set to true together with above paths, defined pem key/certificate will be created if neither exists.
#AUTOCERT="true"