refactor: format JSON and Lua files for improved readability and consistency

This commit is contained in:
Théophile Diot 2024-11-19 14:39:36 +01:00
parent 53ac7975a6
commit 2135ef8769
No known key found for this signature in database
GPG key ID: FA995104A0BA376A
3 changed files with 8 additions and 6 deletions

View file

@ -74,7 +74,7 @@ function metrics:log(bypass_checks)
reason = reason,
server_name = self.ctx.bw.server_name,
data = data,
security_mode = security_mode
security_mode = security_mode,
}
-- Get current requests
local requests = lru:get("requests")

View file

@ -26,7 +26,12 @@
"selfsigned",
"ui"
],
"ssl_certificate": ["customcert", "letsencrypt_dns", "letsencrypt", "selfsigned"],
"ssl_certificate": [
"customcert",
"letsencrypt_dns",
"letsencrypt",
"selfsigned"
],
"access": [
"whitelist",
"letsencrypt",

View file

@ -352,9 +352,6 @@
"label": "Security mode",
"regex": "^(detect|block)$",
"type": "select",
"select": [
"detect",
"block"
]
"select": ["detect", "block"]
}
}