mirror of
https://github.com/caprover/caprover
synced 2026-08-25 00:46:38 +00:00
Added nginx -t test and revert if the config is invalid. Fixed https://github.com/caprover/caprover/issues/660
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user