Computer Configuration > Administrative Templates > Microsoft Edge
Both
HKLM\Software\Policies\Microsoft\Edge
As of Microsoft Edge version 120, Microsoft Edge tries to upgrade HTTP navigations to HTTPS whenever possible to improve security. Navigations to captive portals, IP addresses, and non-unique hostnames are excluded from automatic upgrades. If this policy is enabled or not configured, automatic HTTPS upgrades are turned on by default. If this policy is disabled, Microsoft Edge won't attempt to upgrade HTTP connections to HTTPS. To exempt specific hostnames or hostname patterns from being upgraded, use the HttpAllowlist policy.