配置了 swoole 加速怎么nginx 怎么配置 $query_string
课程使用静态缓存:18. 静态缓存《LX3 Laravel 性能优化入门》
配置nginx
location = / {
try_files /page-cache/pc__index__pc.html /index.php?$query_string;
}
location / {
try_files $uri $uri/ /page-cache/$uri.html /index.php?$query_string;
}
上面这一块怎么和 swoole 的 nginx 配置相结合
swoole 的 nginx 如下
location / {
try_files $uri @githubmemory;
}
by JeffreyBool blog :point_right: link
推荐文章: