proxy_cache_purge for nginx/0.8.34

skynet nginx-forum at nginx.us
Mon Mar 15 03:58:49 MSK 2010


Public URL is http://www.mysite.com/test-2/2220

To request purge I try (on local server): wget www.mysite.com/purge/test-2/2220
or directly from browser (from one of the IPs in allow): www.mysite.com/purge/test-2/2220

log_format combinedx '$remote_addr - $remote_user [$time_local]  '
                    '"$request" $status $body_bytes_sent '
                    '"$http_referer" "$http_user_agent" '
                    'upstream_response_time $upstream_response_time '
                    'msec $msec request_time $request_time '
                    'Expires: $upstream_http_expires '
					'Cache-Control: $upstream_http_cache_control '
                    'upstream_cache_status $upstream_cache_status ';

access_log  "/var/log/nginx/access.log"  combinedx;


Thank you.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,61318,63848#msg-63848




More information about the nginx mailing list