Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IIS URL 重定向将 https 定向至 http #123

Closed
Dream4ever opened this issue Jan 8, 2021 · 0 comments
Closed

IIS URL 重定向将 https 定向至 http #123

Dream4ever opened this issue Jan 8, 2021 · 0 comments
Labels
Server The invisible hero

Comments

@Dream4ever
Copy link
Owner

解决过程

在检查页面时,发现 IIS 中的 URL 重定向规则,会将原本的 https 协议的 URL,重定向到 http 协议的 URL。

原本的规则是将 ^kaixin(/?)$ 这样的模式重定向到 abc/def/index.html

于是修改重定向规则,将重定向的目标由原本的相对路径改为完整的 URL:https://abc.com/abc/def/index.html ,这样就解决了问题。

@Dream4ever Dream4ever added the Server The invisible hero label Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Server The invisible hero
Projects
None yet
Development

No branches or pull requests

1 participant