Hey,
I’m trying to get http to https redirect working. Currently it is not. This is my Caddyfile.
michaelpope.ml {
root /var/www/michaelpope.ml
}
What I have tried
-Curling on the VPS works as expected.
-Using Chrome on my home computer does not redirect (either normally or with the cache not saved in developer options).
-I also tried removing the redirect and instead just serving the files directly via http, which results in the same problems, that is that curl works but the browse does not. It looks like this:
https://michaelpope.ml {
root /var/www/michaelpope.ml
}
http://michaelpope.ml {
root /var/www/michaelpope.ml
}
Does anybody have any experiences about why this might not be working?
Thanks!
-Michael Pope