blank page on some micro-cached pages

Ronald Van Assche rva at onvaoo.com
Mon Nov 25 16:24:32 UTC 2013


Well nginx 1.5.7 is compiled with this 3 party module :

configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx-error.log --user=www --group=www --with-file-aio --with-ipv6 --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx-access.log --add-module=/usr/ports/www/nginx-devel/work/ngx_cache_purge-2.1 --with-http_geoip_module --with-http_stub_status_module --with-pcre

Le 25 nov. 2013 à 17:11, Maxim Dounin <mdounin at mdounin.ru> a écrit :

> Hello!
> 
> On Mon, Nov 25, 2013 at 04:47:04PM +0100, Ronald Van Assche wrote:
> 
>> It seems related to every update on a post and the use of the WP plugin Nginx-Helper
> 
> From a description of the plugin, it looks like it is expected to 
> work with 3rd party cache purge module.  It may explain things if 
> you don't have the module compiled.  Just switching off the 
> pluging is probably a best solution.
> 
>> if i add $upstream_cache_status to the log format , nothing is logged.
>> Should i recompile Nginx 1.5 with some additional modules ?
>> 
>> On the Freebsd port we have : 
>> 
>> [ ] HTTP_UPSTREAM_FAIR    3rd party upstream fair module                 
>> [ ] HTTP_UPSTREAM_HASH    3rd party upstream hash module                 
>> [ ] HTTP_UPSTREAM_STICKY  3rd party upstream sticky module
>> 
>> which do I have to select ?
> 
> You don't need these modules.  If $upstream_cache_status isn't 
> logged, it's most likely a problem in your configuration - e.g., 
> the log format you've modified isn't used by your access_log 
> directive.
> 
> -- 
> Maxim Dounin
> http://nginx.org/en/donation.html
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list