Can I rewrite https to http?

Ralph Seichter ralph at ml.seichter.de
Tue Aug 15 13:51:55 UTC 2023


* baalchina at gmail.com:

> So, can I redirect the request, when user open https://nossl.abc.com, the
> will be redirect to http://nossl.abc.com?

While technically possible, you might find that connecting clients may
interpret this as a "downgrade attack", because the client asked for an
encrypted connection. Obtaining a certificate from Let's Encryt or
similar seems a more suitable approach to me.

-Ralph


More information about the nginx mailing list