Nginx服务器作反向代理时的缓存配置要点解析

feng74391 17 0 PDF 2021-01-16 03:01:37

这里给出示例,并详解。 http { [...] [...] proxy_cache_path /data/nginx/cache/one levels=1:2 keys_zone=one:10m max_size=10g; proxy_cache_key $host$request_uri; server { server_name www.jb51.net jb51.net; root /home/www.jb51.net/web; index index.php index.html index.htm; location / { proxy_pass

用户评论
请输入评论内容
评分:
暂无评论