Redirect HTTP to HTTPS
Updated at:
Copy as MD
Configure automatic redirection to force client HTTP requests to HTTPS.
Prerequisites
-
An SSL certificate is configured for the domain name bound to your API group. For more information, see Access APIs by using a domain name over HTTPS.
-
The HTTPS protocol is enabled for all APIs in the API group.
Procedure
-
Log in to the API Gateway console.
-
In the left-side navigation pane, choose . Click your target API group.
-
On the group details page, in the Independent Domains section, find the target domain name. In the Automatic Redirection from HTTP to HTTPS column, click Enable.
-
Click OK. Automatic redirection is now enabled.
Is this page helpful?