十五.headers模块功能(ngx_http_headers_module)根据Content-Type来设置过期时间

十五.headers模块功能(ngx_http_headers_module)根据Content-Type来设置过期时间
语法: Syntax: expires_by_types [[modified] time | @time-of-day | epoch | max | off] content-type1 [content-type2] [content-type3] ... Default: - Context: http, server, location 示例: expires_by_types       24h text/html; expires_by_types       modified +24h text/xml; expires_by_types       @15h30m text/xml; expires_by_types       0 text/xml; expires_by_types       -1 text/...