Nginx ctrl+F5刷新

nginx添加ctrl+F5强制刷新功能配置

## Ctrl+F5 Cache Purge
if ($http_Cache_Control ~ "no-cache") {
# set $http_Cache_Control 'max-age=604800';
rewrite ^(.*)$ /purge$1 last;
}

标签:Linux, Nginx

评论已关闭