fastcgi_cache_purge line in config causes segmentation fault since 1.7.8 in nginx-extras

Valentin V. Bartenev vbart at nginx.com
Tue Dec 16 10:47:53 UTC 2014


On Tuesday 16 December 2014 05:36:38 talkingnews wrote:
> Hello;
> 
> for many months I've been running the config shown here:
> https://rtcamp.com/wordpress-nginx/tutorials/single-site/fastcgi-cache-with-purging/
> 
> This morning, I apt-get upgraded and got nginx 1.7.8 and a load of dead
> sites. running nginx -t gave me a segmentation fault (core dumped) error.
> 
> After a whole load of panicking and commenting one line out at a time, I
> finally tracked it down to this section:
> 
> location ~ /purge(/.*) {
>     fastcgi_cache_purge WORDPRESS "$scheme$request_method$host$1";
>     }
> 
> If I comment that out, I can start up wordpress and nginx -t doesn't core
> dump.
> 
> I can't see anything obvious in the release notes that would cause this,
[..]

https://github.com/FRiCKLE/ngx_cache_purge/blob/master/CHANGES

Since you're using a lot of 3rd-party modules it's a good idea to
update them too.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list