Hi Kaushal,
On Sat, May 07, 2022 at 06:31:59PM +0530, Kaushal Shriyan wrote:
>
> #gcc -o ngx_cache_purge_module ngx_cache_purge_module.c
> ngx_cache_purge_module.c:30:19: fatal error: nginx.h: No such file or
> directory
> #include <nginx.h>
> ^
> compilation terminated.
I'd recommend to follow this [1] blog post to create a dynamic module
for nginx.
References:
1. https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus/
--
Sergey A. Osokin
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org