关于由NGINX配置的历史模式的前端途径拦截路线
我的VUE项目配置了历史模式,但是目前我需要配置A/登录以将重写重写为 www.sso。 com 在当前域名中,因为我需要根据不同的域名跳到不同的SSO单登录地址。 现在的问题是,当我访问我的项目并添加 /登录到我的域名时,我无法使用Nginx配置的重写信息,但直接被路由到前端并跳到前端404页。
My vue project is configured with history mode, but at this time I need to configure a / login to do rewrite to www.sso.com in the current domain name, because I need to jump to different sso single sign-on addresses according to different domain names.
The problem now is that when I visit my project and add / login to my domain name, I can't take the rewrite information configured by nginx, but is directly routed to the front end and jumps to the front end 404 page.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论