I have an nginx reverse-proxy on a ubuntu server in AWS. How can I see when it's configurations were reloaded, either via CLI or otherwise, and when it was restarted altogether?
If it doesn't record these events on its own, how can I log them indirectly through a script of some kind?
nginx
server running as asystemd
service?init_by_lua_block
to write to log file on config reload/restart.