上传者: 38685832
|
上传时间: 2022-03-12 19:00:45
|
文件大小: 186KB
|
文件类型: -
1、expires缓存模块
具体配置可参考官方文档 http://nginx.org/en/docs/http/ngx_http_headers_module.html#expires
[root@cairui conf]# cat nginx.conf | egrep -v #|^$
user nginx;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfil