› NGINX
› NGINX Trac
› 3rd Party Modules
› Security Advisories
› CHANGES
› OpenResty
› ngx_lua
› Tengine
在线学习资源
› NGINX 开发从入门到精通
NGINX Modules
› ngx_echo
yuedingwangji
V2EX  ›  NGINX

nginx 做反向代理的时候如何最大程度避免向 upstream 请求

  •  
  •   yuedingwangji · Oct 16, 2017 · 3950 views
    This topic created in 3321 days ago, the information mentioned may be changed or developed.

    nginx 可以做到非动态请求都直接由本机应答么? 就是本机缓存 upstream 的文件,然后请求的时候,本机直接应答 可能说得不太准确,请见谅

    vus520
    vus520
    Oct 16, 2017
    1
    你要找的叫 proxy_cache, 不谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   965 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:06 · PVG 04:06 · LAX 12:06 · JFK 15:06
    ♥ Do have faith in what you're doing.