› 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 · 3969 views
    This topic created in 3331 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   ·   1419 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:35 · PVG 00:35 · LAX 08:35 · JFK 11:35
    ♥ Do have faith in what you're doing.