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

nginx 的反向代理与 index.html

  •  
  •   veezzz · Mar 25, 2015 · 3904 views
    This topic created in 4202 days ago, the information mentioned may be changed or developed.

    nginx该如何配置让根路径访问index.html,其他的路径使用反向代理

    2 replies  •  2015-03-27 14:31:01 +08:00
    lhbc
        1
    lhbc  
       Mar 25, 2015   ❤️ 1
    location = /
    location ~ /
    veezzz
        2
    veezzz  
    OP
       Mar 27, 2015
    @lhbc 是这么解决的 多谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2886 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 03:01 · PVG 11:01 · LAX 20:01 · JFK 23:01
    ♥ Do have faith in what you're doing.