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 · 3630 views
    This topic created in 4079 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   ·   Solana   ·   915 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 466ea39e · 34ms · UTC 21:53 · PVG 05:53 · LAX 14:53 · JFK 17:53
    ♥ Do have faith in what you're doing.