Last updated
Was this helpful?
Last updated
Was this helpful?
proxy_cache_bypass指令用于配置Nginx服务器向客户端发送响应数据时,不从缓存中获取的条件。这些条件支持使用Nginx配置的常用变量。其语法结构为:
其中,string 为条件变量,支持设置多个,当至少有一个字符串指令不为空或者不等于0时,响应数据不从缓存中获取。
其中,$cookie_nocache、$arg_nocache、$arg_comment、$http_pragma和$http_authorization都是Nginx配置文件的变量。