How to run a shell script on every request?

Kaushal Shriyan kaushalshriyan at gmail.com
Fri Aug 18 13:47:05 UTC 2023


Hi,

I am running nginx version: nginx/1.24.0  on CentOS Linux release 7.9.2009
(Core)

# nginx -v
nginx version: nginx/1.24.0
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
#

I want to run a shell script every time my nginx server receives any HTTP
request. Any simple ways to do this?

Please guide me. Thanks in Advance.

Best Regards,

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230818/1edde6a2/attachment.htm>


More information about the nginx mailing list