You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll notice that the IPv6 address is ordered first - I think a loop is missing somewhere in the Automatic HTTPS logic and it's only binding to the HTTP port for the first listen address. I'll dig a bit more.
The redirDomains array gets overwritten as it loops here, so only the last one encountered is kept. I added a couple lines of logging immediately after the redirDomains[""] line with redirDomains's value:
2020/05/24 22:02:20.337 INFO http Hmmm... {"redirDomains": {"":{"Network":"tcp","Host":"95.216.178.135","StartPort":443,"EndPort":443}}}
2020/05/24 22:02:20.337 INFO http Hmmm... {"redirDomains": {"":{"Network":"tcp","Host":"2a01:4f9:c010:85b9::f00","StartPort":443,"EndPort":443}}}
I think this needs needs to be reworked to handle IPs as well as domains.
On Port 80 on the IPv4 address, it fails:
On Port 80 on the IPv6 address, it works:
This breaks redirects on IPv4-only machines.
The text was updated successfully, but these errors were encountered: