We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--- a/ngx_cache_purge_module.c 2012-06-28 05:08:44.000000000 +0800 +++ b/ngx_cache_purge_module.c 2011-12-20 20:36:20.000000000 +0800 @@ -41,7 +41,7 @@ char _ngx_http_fastcgi_cache_purge ngx_int_t ngx_http_fastcgi_cache_purge_handler(ngx_http_request_t *r);
-# if (NGX_HTTP_PROXY) +# if (NGX_HTTP_PROXY || nginx_version >= 1003002) char _ngx_http_proxy_cache_purge_conf(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); ngx_int_t ngx_http_proxy_cache_purge_handler(ngx_http_request_t *r); @@ -76,7 +76,7 @@ static ngx_command_t ngx_http_cache_pur NULL },
-# if (NGX_HTTP_PROXY) +# if (NGX_HTTP_PROXY || nginx_version >= 1003002) { ngx_string("proxy_cache_purge"), NGX_HTTP_LOC_CONF|NGX_CONF_TAKE2, ngx_http_proxy_cache_purge_conf, @@ -257,7 +257,7 @@ ngx_http_fastcgi_cache_purge_handler(ngx }
-# if (NGX_HTTP_PROXY) +# if (NGX_HTTP_PROXY || nginx_version >= 1003002) extern ngx_module_t ngx_http_proxy_module;
typedef struct {
The text was updated successfully, but these errors were encountered:
Fixed in 8d3b135, thanks for the report!
Sorry, something went wrong.
Merge pull request FRiCKLE#7 from torden/dev/add-new-response-type
19348b7
cache_purge_response_type directive
88a4aea
No branches or pull requests
--- a/ngx_cache_purge_module.c 2012-06-28 05:08:44.000000000 +0800
+++ b/ngx_cache_purge_module.c 2011-12-20 20:36:20.000000000 +0800
@@ -41,7 +41,7 @@ char _ngx_http_fastcgi_cache_purge
ngx_int_t ngx_http_fastcgi_cache_purge_handler(ngx_http_request_t *r);
endif /_ NGX_HTTP_FASTCGI */
-# if (NGX_HTTP_PROXY)
+# if (NGX_HTTP_PROXY || nginx_version >= 1003002)
char _ngx_http_proxy_cache_purge_conf(ngx_conf_t *cf,
ngx_command_t *cmd, void *conf);
ngx_int_t ngx_http_proxy_cache_purge_handler(ngx_http_request_t *r);
@@ -76,7 +76,7 @@ static ngx_command_t ngx_http_cache_pur
NULL },
endif /_ NGX_HTTP_FASTCGI */
-# if (NGX_HTTP_PROXY)
+# if (NGX_HTTP_PROXY || nginx_version >= 1003002)
{ ngx_string("proxy_cache_purge"),
NGX_HTTP_LOC_CONF|NGX_CONF_TAKE2,
ngx_http_proxy_cache_purge_conf,
@@ -257,7 +257,7 @@ ngx_http_fastcgi_cache_purge_handler(ngx
}
endif /* NGX_HTTP_FASTCGI */
-# if (NGX_HTTP_PROXY)
+# if (NGX_HTTP_PROXY || nginx_version >= 1003002)
extern ngx_module_t ngx_http_proxy_module;
typedef struct {
The text was updated successfully, but these errors were encountered: