How the front end converts the interface request of https into a http request

the previous interface of the company was the http interface, but later it was replaced by the https interface for security reasons, but the access speed of the https interface became slower due to encryption and other reasons. Now I want to do something like acting as a proxy in the front end to convert the https request into http. My understanding is that the front end acting as a proxy is just a change in the front end code, and in essence, the back end still receives the https request. Because the front-end team of the company used to act as an agent in the interface, the boss said that this code is to convert https into http. Let me see if it can be implemented in the new project. I am quite confused, and I can"t see how the code is transformed. Because after all, my cognition is limited, so I would like to ask if it can be realized.

Mar.03,2021

A NGINX reverse proxy is solved without writing code
reference link https://blog.csdn.net/lvye122.

.
Menu