For my site I'd like to be able to put up a maintenance 503 page but with a whitelist of ip-addresses that will be able to use the website as normal
Would I have to craft something like this in lua?
I see some questions like
and
How can I setup a custom 503 error page in NGINX?
which explain how to do this separately but I'd like to kind of combine them so I could take the site offline for the outside world but still be able to test it normally from certain IP addresses