我用一个$ schemetesting了proxy_cache_key
proxy_cache_key $scheme; proxy_pass http://127.0.0.1:8081/;
然后我请求一个caching。
curl http://127.0.0.1:8080/a.html
然后我再次请求确认caching
curl http://127.0.0.1:8080/a.html
没问题
然后我请求其他url
curl http://127.0.0.1:8080/b.html
并希望它击中caching,因为密钥是$计划
但它给了我b.html的内容
为什么proxy_cache_key $scheme;
不起作用?