You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, is there a way with lua that, upon checking a condition, abort an nginx reload with error, so the old conf keeps running.
I have this in my xxx_by_lua_block codes in the conf: local m = require(module)
if this fails, all the requests in the server becomes HTTP 500. This fails obviously because of an error in the lua code, however to be extra careful I want to prevent reload if an error can be found before the worker starts running.
The text was updated successfully, but these errors were encountered:
Hello, is there a way with lua that, upon checking a condition, abort an nginx reload with error, so the old conf keeps running.
I have this in my xxx_by_lua_block codes in the conf:
local m = require(module)
if this fails, all the requests in the server becomes HTTP 500. This fails obviously because of an error in the lua code, however to be extra careful I want to prevent reload if an error can be found before the worker starts running.
The text was updated successfully, but these errors were encountered: