[ANN] OpenResty 1.11.2.2 released

2016-11-17 Thread Yichun Zhang (agentzh)
Hi folks, I am excited to announce the new formal release, 1.11.2.2, of the OpenResty web platform based on NGINX and LuaJIT: https://openresty.org/en/download.html Both the (portable) source code distribution and the Win32 binary distribution are provided on this Download page. We have man

Re: set cache-control in a subfolder (php)

2016-11-17 Thread Francis Daly
On Thu, Nov 17, 2016 at 04:17:36AM -0500, JoakimR wrote: Hi there, > Hi I'm trying to override my default cache-control in my /admin/ folder One request is handled in one location. Only the config that applies in that location applies to the request. > location /admin/ { >

set cache-control in a subfolder (php)

2016-11-17 Thread JoakimR
Hi I'm trying to override my default cache-control in my /admin/ folder location /admin/ { add_header “Cache-Control: no-cache”; try_files $uri =404; access_log off; } but everything have a wrong cache-age by running curl -I curl -I