Home
Sign Up
Sign In
›
NGINX
›
NGINX Trac
›
3rd Party Modules
›
Security Advisories
›
CHANGES
›
OpenResty
›
ngx_lua
›
Tengine
在线学习资源
›
NGINX 开发从入门到精通
NGINX Modules
›
ngx_echo
V2EX
›
NGINX
nginx 反向代理访问路径问题
veezzz
·
Aug 31, 2015
· 4804 views
This topic created in 4084 days ago, the information mentioned may be changed or developed.
nginx 配置反向代理的时候,如何配置访问路径使得在如 /a 下访问,且访问上游服务器的时候,访问路径为 /a 之后的内容
比如客户端访问 192.168.1.1/a/b nginx 访问上游服务器为 127.0.0.1:8000/b
访问
Nginx
路径
服务器
1 replies
•
2015-08-31 16:11:44 +08:00
fghzpqm
Aug 31, 2015
1
```
rewrite ^/a / break;
```
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
4938 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms ·
UTC 07:38
·
PVG 15:38
·
LAX 23:38
·
JFK 02:38
♥ Do have faith in what you're doing.
❯