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 · 3529 views
    This topic created in 3134 days ago, the information mentioned may be changed or developed.

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

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