I looked through the docs ( and googled ) but I cannot find anything.
I'm using init_by_lua block as a way to configure how the requests are handled.
What I want to do is ability to trigger a full exit of nginx if a certain condition happens inside the init_by_lua block i.e. think of it as catching a configuration error. I do not want to get a stack trace/etc. Just a clean equivalent of doing exit(1).
Any thoughts on how this can be done?