Re: Problems with cache by mime/type

2018-11-30 Thread Jorge Pereira
ahh! > At the time that nginx is deciding "should this request be served from > cache or sent to upstream?", $upstream_http_content_type cannot have > a value. > now I figured out the reason. thank you Francis. ___ nginx mailing list nginx@nginx.org htt

Re: Problems with cache by mime/type

2018-11-30 Thread Jorge Pereira
e $upstream_cache_status; proxy_cache_key $scheme$proxy_host$request_uri$auth_cache_key; proxy_cache_valid200 24h; proxy_ignore_headers "Set-Cookie" "Cache-control"; location ~/mypath(?.*)$ { proxy_pass $upstream${relative_uri}${is_args}${args}; } } } -- J

Problems with cache by mime/type

2018-11-29 Thread Jorge Pereira
roxy_cache_key $scheme$proxy_host$request_uri$auth_cache_key; proxy_cache_valid200 24h; proxy_ignore_headers "Set-Cookie" "Cache-control"; location ~/mypath(?.*)$ { proxy_pass $upstream${relative_uri}${is_args}${args}; } } } -- Jorge Pereira __

Problems with map + subfilter + proxy

2018-11-07 Thread Jorge Pereira
2.17.0.2/artifactory/api/nuget/v3/dtfni-nuget/Packages(Id='AttributeRouting.Core.Web ',Version='3.5.6')" Conclusion: the variable it been filled up correctly, but the sub_filter_types looks to not process. Someone has any suggestion? ps: I am using the nginx 1.12.x -- Jorge Pereira ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx