arcee123
arcee123

Reputation: 243

how to speed up redirect from http to https

I have a website that I built that is https only.

I have a redirect that rolls http to https via Javascript. The problem is that the process lasts up to 4 seconds of wait time to reset connection and start https.

Is there a faster way to send http to https? Thanks.

Upvotes: 0

Views: 760

Answers (1)

meucaa
meucaa

Reputation: 1515

You can rewrite HTTP requests to HTTPS requests using Nginx.

You can find an example here.

Upvotes: 1

Related Questions