Welcome! Log In Create A New Profile

Advanced

Re: proxy_cache_key

March 25, 2010 05:45AM
The documentation for the [url=http://wiki.nginx.org/NginxHttpProxyModule#proxy_cache_path]proxy_cache_path[/url] directive of the [url=http://wiki.nginx.org/NginxHttpProxyModule]NginxHttpProxyModule[/url] states that the "Key and filename in cache is md5 of proxied URL". Here is an example:

a user requests:
http://nginx.foo.com/bar.html

nginx has the proxy_pass directive:
proxy_pass http://apache.foo.com/

the cached filename will be the md5 of:
http://apache.foo.com/bar.html

This worked for me when using the default proxy_cache_key with nginx 0.7.62
Subject Author Posted

proxy_cache_key

jhauser March 07, 2010 06:58AM

Re: proxy_cache_key

schmoove March 25, 2010 05:45AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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