正常部署的时候应用访问是: http://localhost:3000 如果我想这样访问该怎么配置: http://localhost:3000/website 在node上怎么添加一个网站的上下文,类似tomcat的context。
回复 (2)
I
nginx反向代理可是实现 http://localhost:3000/website 类似的配置
1
写一个js跳转 启动3000端口的时候 让访问http://localhost:4000/website
参与回复
登录后即可参与回复。登录