Welcome! Log In Create A New Profile

Advanced

Re: Set-Cookie is missing via proxy

Isaac Hailperin
December 06, 2012 10:18AM
On 06.12.2012 14:37, Maxim Dounin wrote:

>> Also, at least from the config, the html should not be cached,
>> right?
>
> I don't see anything in the config you provided which will prevent
> caching.

location ~* \.(jpg|gif|png|css|js)
{
try_files $uri @proxy;
}

location @proxy
{
proxy_pass http://backend-all-apaches;
}

location /
{
proxy_pass http://backend-all-apaches;
}

As far as my understanding goes, this will only cache
jpg|gif|png|css|js files, and send the rest directly to the backend.
Please correct me if I am wrong.

Isaac

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

Set-Cookie is missing via proxy

Isaac Hailperin December 05, 2012 06:02AM

Re: Set-Cookie is missing via proxy

Maxim Dounin December 05, 2012 07:24AM

Re: Set-Cookie is missing via proxy

Isaac Hailperin December 05, 2012 02:44PM

Re: Set-Cookie is missing via proxy

Isaac Hailperin December 05, 2012 03:14PM

Re: Set-Cookie is missing via proxy

Maxim Dounin December 06, 2012 08:38AM

Re: Set-Cookie is missing via proxy

Isaac Hailperin December 06, 2012 10:18AM

Re: Set-Cookie is missing via proxy

Maxim Dounin December 06, 2012 11:04AM

Re: Set-Cookie is missing via proxy

Isaac Hailperin December 17, 2012 05:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
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