Welcome! Log In Create A New Profile

Advanced

Re: Disable Caching

Valentin V. Bartenev
July 19, 2012 01:20PM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Disable Caching

dgarstang July 19, 2012 01:08PM

Re: Disable Caching

Valentin V. Bartenev July 19, 2012 01:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 180
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready