当访问 http://example.com/ 为空白但与 http://example.com/index.php 配合良好时,我需要删除 http://example.com/ 的 nginx 缓存文件,该怎么做?这是我的 nginx 缓存配置。
fastcgi_cache_path /backup/cache levels=1:2 keys_zone=my-cache:1000m inactive=1000m;
fastcgi_temp_path /backup/cache/tmp 1 2;
fastcgi_cache_key "$scheme://$host$request_uri";
Run Code Online (Sandbox Code Playgroud)
如何获取/backup/cache 文件夹中的缓存文件名?