Disable Caching
Valentin V. Bartenev
ne at vbart.ru
Thu Jul 19 17:18:52 UTC 2012
On Thursday 19 July 2012 21:08:12 dgarstang wrote:
[...]
> In the included sites-enabled/portal file, there is a server section
> that has:
>
> server {
> listen 80;
> server_name portal.xxx.com;
> rewrite ^ https://portal.xxx.com$request_uri? permanent;
> proxy_no_cache 1;
> proxy_cache_bypass 1;
> }
>
> Note that both proxy_no_cache and proxy_cache_bypass are set to 1.
> However, it appears that caching _is_ occurring.
>
> Why? How do we disable this?
>
What? What exactly do you want to disable?
The proxy_* directives are related to the proxy module, and they only have
meaning in combination with proxy_pass.
http://nginx.org/ru/docs/http/ngx_http_proxy_module.html
wbr, Valentin V. Bartenev
More information about the nginx
mailing list