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

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

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