AdguardTeam / AdguardTeam/AdGuardHome
Redirect to servername
- 主要言語
- TypeScript
- スター
- 36.9k
- フォーク
- 2.5k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Prerequisites
- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer
- [X] I have searched other issues and found no duplicates
- [X] I want to request a feature or enhancement and not ask a question
### Description
#### What problem are you trying to solve?
I like to use `force_https` but it redirects to the same hostname that I used in my browser. That is fine if the server should use multiple hostnames. But if I call my server with IP I will redirected to https with the server IP that leads to TLS certificate issue (bad cert domain). Would be helpful if the `server_name` could be used for the redirect from http to https.
#### Proposed solution
Introduce `force_https_to_server_name` with default `false`. If it is `true` it could redirect to `server_name`.
#### Alternatives considered
#### Additional information
コントリビューションガイド
評価
この issue はまだ評価されていません。