Correcting nginx_config_create script and the domain.sample skeleton json

This commit is contained in:
2022-05-31 15:47:45 +00:00
parent cd807f16dc
commit 7f33c6400b
2 changed files with 14 additions and 18 deletions

View File

@@ -1,17 +1,18 @@
{
"DOMAIN": "mandatory.tld",
"DEBUG": "true",
"DOMAIN": "same_name_as_the_file",
"ALIASES_HTTP": [ ],
"ALIASES_HTTPS": [ ],
"LOCAL_IP": "mandatory_IP",
"HTTP_PORT": "",
"HTTPS_PORT": "",
"HTTPS_PORT": "mandatory",
"ERROR_PAGE": "",
"REDIRECT_HTTP": "",
"REDIRECT_HTTPS": "",
"MAX_BODY_SIZE": "",
"ALLOWED_NETWORK":
"ALTERNATE_LOCATION_PATH": [ "IP/subnet_if_not_32", "IP/subnet_if_not_32" ],
{
"MAX_BODY_SIZE": "if_not_set_it_will_be_unlimited",
"ALLOWED_NETWORK": [ "IP/subnet_if_not_32", "IP/subnet_if_not_32" ],
"ALTERNATE_LOCATION_PATH":
{
"LOCAL_PATH": "",
"LOCAL_IP": "mandatory_if_path_exists",
"LOCAL_PORT": "default_80_if_empty",