Welcome! Log In Create A New Profile

Advanced

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

All files from this thread

File Name File Size   Posted by Date  
nginxpurge.conf 6 KB open | download kaushalshriyan 05/08/2022 Read message
nginxpurgecache.conf 6 KB open | download kaushalshriyan 05/08/2022 Read message
Sergey A. Osokin
May 07, 2022 10:04AM
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
Subject Author Posted

building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 07, 2022 09:06AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

Sergey A. Osokin May 07, 2022 10:04AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 07, 2022 11:16PM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core) Attachments

kaushalshriyan May 08, 2022 01:04AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 08, 2022 02:14AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 08, 2022 04:14AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core) Attachments

kaushalshriyan May 08, 2022 06:26AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 08, 2022 08:36AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

Sergey A. Osokin May 08, 2022 04:36PM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 08, 2022 10:32PM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

Sergey A. Osokin May 08, 2022 11:02PM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 08, 2022 11:20PM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

Sergey A. Osokin May 09, 2022 09:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 275
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready