nginx內置緩存Proxy_cache

proxy_cache做用是緩存後端服務器的內容css 一.http模塊加入緩存設置 1.加上下面三段(緩存到磁盤)html proxy_temp_path /etc/nginx/proxy_temp; proxy_cache_path /etc/nginx/proxy_cache levels=1:2 keys_zone=content:20m inactive=1d max_size=10
相關文章
相關標籤/搜索