Hi, I'm trying to setup a location config using regexp but it seems to not work. I need to cache all http requests that starts with: /app/v1/service/try/ and contains "method=getServiceName". Example: http://mydomaine.com/app/v1/service/try/?param1=val1¶m2=val2&method=getServiceName¶m3=val3 I used the following config: location ~* /app/v1/service/try/(.*)by nams - How to...
Hello, Thank you for your help. Now it works fine. As suggested by Maxim, i used the proxy_ignore_headers directive to igonre Expires Cache-Control headers. Thanks again.by nams - Nginx Mailing List - English
Hello, We need a little bit of help to understand what's wrong with our config. We try to setup a reverse proxy cache using Nginx but somthing seems to be wrong with our configuration. Behind the Nginx there is a tomcat server. The problem is that Nginx doesn't cache at all. Logs shows that the content isen't cacheable, but we diden't understand why !! The config is: nginx -V nginby nams - Nginx Mailing List - English