› 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 · 3935 views
    This topic created in 3312 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   ·   4349 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 01:11 · PVG 09:11 · LAX 17:11 · JFK 20:11
    ♥ Do have faith in what you're doing.