[add] added 403 catchall for invalid domains
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user