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 · 3702 views
    This topic created in 4110 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   ·   937 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:25 · PVG 03:25 · LAX 12:25 · JFK 15:25
    ♥ Do have faith in what you're doing.