Closed komuw closed 5 months ago
https://github.com/komuw/ong/blob/00154b279ee724a9f2b22a2c10107912860ead1f/middleware/redirect.go#L80-L91
curl -vkL "http://hey.example.com" # note it is http not https
This gets redirected to https://example.com. It should be redirected to https://hey.example.com
https://example.com
https://hey.example.com
https://github.com/komuw/ong/blob/00154b279ee724a9f2b22a2c10107912860ead1f/middleware/redirect.go#L80-L91
curl -vkL "http://hey.example.com" # note it is http not https
This gets redirected to
https://example.com
. It should be redirected tohttps://hey.example.com