Tag: ghost

在Windows Azure的子文件夹下共享链接问题托pipeGhost博客

我已经通过azure色的市场build立了一个幽灵博客,应该是从https://github.com/felixrieseberg/Ghost-Azure点击部署到azure的平等 比方说,我有: theblog .azurewebsites.net / 我希望它是在https://www.mycustomdomain.com/blog ,我有另一个应用程序服务的主要网站,让我们说在主网站.azurewebsites.net /这个网站有mycustomdomain.com DNS所有设置与证书。 在这个网站中,我有在web.config重写 <rule name="Reverse Proxy to blog" stopProcessing="true"> <match url="^blog(.*)" /> <action type="Rewrite" url="https://theblog.azurewebsites.net/blog/{R:1}" /> </rule> 目前我正试图在临时网站上获得这个权利,所以我在https:// mainsite -staging .azurewebsites.net / blog / 上面的重写成功地向我展示了在blog.azurewebsites.net上托pipe的博客,而无需更改浏览器中的url。 在博客我也有websiteUrl应用程序设置为https://www.mycustomdomain.com.au/blog所以我的规范url在博客文章是正确的。 剩余的问题 如果我点击博客中的徽标,则链接是https:// theblog .azurewebsites.net,而不是https://mainsite-staging.azurewebsites.net/blog或https://www.mycustomdomain.com/blog 家庭链接,即使在导航设置中指定为https://www.mycustomdomain.com/blog链接到https:// theblog .azurewebsites.net Twitter和Facebook的共享链接基于共享https:// theblog .azurewebsites.net 我在互联网上search了很久 我回答:原来,还有一个网站UrlSSL的应用程序设置,没有提到自述。 我只是需要设置这一点。