【发布时间】:2016-03-31 22:00:53
【问题描述】:
我有:
- DigitalOcean VPS
- 在 Angular 中使用路由的 Meteor 应用程序
- Nginx 作为反向代理
- 我的域的 SSL,使用 Nginx 配置(也将 http 重定向到 https)
- 另一个托管(!)与 Wordpress 博客那里
- DNS 设置为 DigitalOcean VPS 和 Meteor 应用程序的 dom.in 文件在那里
如何将 doma.in/blog “重写”到博客,但使用相同的 URL? (没有重定向)。
【问题讨论】:
-
不太确定您要在这里做什么。您有一个在 doma.in/ (在 index.html 中)文件上运行的 Angular 应用程序,以及在 doma.in/blog 上运行的博客,并且您希望来自 Angular 应用程序的链接在 doma.in/blog 上登陆wordpress页面而不是角度的子路由?或者你只是想让登陆 doma.in/blog 的人看到 wordpress 博客,尽管 wordpress 博客有不同的 url?
标签: angularjs ssl nginx path dns