I have a few raspberry pis running some services in my homelab. For some reason I can't explain, they are all redirecting http to https for most servers: For example, if I run
$ curl http://example.ca I get the response, <html><body><script>window.location.replace("https://example.ca")</script></body></html>
And this happens for most addresses, unless the domains are well-known. Like, example.com will load properly.
Any idea why this is happening, or how I can debug the situation?
If I run curl -v, it gives a bit more indication:
< HTTP/1.1 200 Ok < Server: micro_httpd < Cache-Control: no-cache < Date: Thu, 07 Aug 2025 17:53:09 GMT < Content-Type: text/html < X-Frame-Options: SAMEORIGIN < Connection: close <