redirect.name icon indicating copy to clipboard operation
redirect.name copied to clipboard

Support for https

Open ZuSe opened this issue 6 years ago • 8 comments

I love your service! Great idea and damn simple to use.

Is there any chance that https is supported as well? As I see there is right now no https support enabled for the sld alias.redirect.name Maybe it could be setup by using acme v2 wildcard certs from letsencrypt?

ZuSe avatar May 07 '18 13:05 ZuSe

Thanks for the kind words!

There's no HTTPS support right now, but I'd be happy to have it. Do you want to open a PR?

frolic avatar May 07 '18 16:05 frolic

@holic Would HTTPs even be possible? I love this simple approach and have a use case for it. If HTTPs was possible I'd put some time toward exploring this.

I'm thinking there may be a conflict with the HTTPs Certs. Not just a code thing.

emaildano avatar Jul 27 '18 15:07 emaildano

Very much interested with https support, but I don't understand why it's not supported by default. Why does it need a special configuration? The redirect from one domain to another should work regardless to each certificates, no?

Vadorequest avatar Jan 01 '19 11:01 Vadorequest

For those interested, it's not as trivial as at seems. It is not possible to perform an HTTPS redirect without an SSL certificate (https://stackoverflow.com/questions/6331371/how-to-redirect-https-to-http-without-any-ssl-certificate). It would imply that redirect.name should integrate a service like LetsEncrypt and this also requires (a lot of) extra DNS settings on the user side as well.

fonz001 avatar Feb 18 '19 10:02 fonz001

@holic Is there a reason to not integrate #26?

schlomo avatar Aug 12 '20 14:08 schlomo

I left some thoughts in https://github.com/holic/redirect.name/pull/26

frolic avatar Oct 24 '21 19:10 frolic

Recently I discovered that you can use CloudFlare with the 'Flexible' encryption mode to support https with redirect.name, might be worth looking into!

mrexodia avatar Oct 26 '22 22:10 mrexodia

Ended up implementing a generic CloudFlare worker that uses the URI record to figure out where to redirect to https://github.com/mrexodia/cloudflare-redirect

mrexodia avatar Mar 30 '23 21:03 mrexodia