Added nginx -t test and revert if the config is invalid. Fixed https://github.com/caprover/caprover/issues/660

This commit is contained in:
Kasra Bigdeli
2024-08-11 15:49:31 -07:00
parent 6da129e31d
commit 87f616fc31
4 changed files with 127 additions and 3 deletions
+1
View File
@@ -48,6 +48,7 @@ class ApiStatusCodes {
static readonly STATUS_PASSWORD_BACK_OFF = 1113
static readonly STATUS_ERROR_OTP_REQUIRED = 1114
static readonly STATUS_ERROR_PRO_API_KEY_INVALIDATED = 1115
static readonly STATUS_ERROR_NGINX_VALIDATION_FAILED = 1116
}
export default ApiStatusCodes