[add] added 403 catchall for invalid domains

This commit is contained in:
2020-06-06 17:30:19 -04:00
parent a3f5fc413f
commit 9378ae4a00
3 changed files with 29 additions and 1 deletions

View File

@@ -261,6 +261,9 @@ function main()
# load env variable with domains
env_domain_file "$domain_file"
# create nixdomain cert for nginx if none exists (used for direct access)
init_cert "nixdomain"
# create temp certs for domains if none exists
# nginx need certs to start
read_file domain_init "$domain_file"