Learn how to use GDB to probe NGINX internals – you can write the debug log in memory and dump the active NGINX configuration