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

求 这种 NGINX 配置怎么写

  •  
  •   wzdc · Jul 27, 2024 · 3220 views
    This topic created in 675 days ago, the information mentioned may be changed or developed.
    反代本机 5000 端口并缓存响应码为 302 的内容
    如果重定向的链接包含 example.com (也就是域名为*.example.com )那么就缓存 10 小时,缓存键为 $scheme$request_method$host$request_uri$http_user_agent$http_authorization
    否则缓存 10 分钟,缓存键为 $scheme$request_method$host$request_uri$http_authorization

    这种 NGINX 配置怎么写?
    1 replies    2024-07-27 13:03:23 +08:00
    ed448
        1
    ed448  
       Jul 27, 2024
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5522 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 05:59 · PVG 13:59 · LAX 22:59 · JFK 01:59
    ♥ Do have faith in what you're doing.