Create http virtual host to redirect from http to https

sujnana
Participant IV

I have requirement to redirect http to https. For example, http://test.api.com/myapi/v1 should redirect to https://test.api.com/myapi/v1

As suggested in below link we created redirect proxy.

https://community.apigee.com/questions/36727/redirect-all-http-request-to-https-requests-using.html

But we are not able to create Virtual host with port 80. As per document Edge for the Cloud customers can only create an HTTPS virtual hosts with TLS enabled. There is one http (port 80) virtual host which was created by default. However, it is not allowing to edit or add Host Alias. Is there any way to create Virtual host with port 80 in public cloud OR is there any alternative approach to redirect from http to https. Thanks.

Solved Solved
1 2 329
1 ACCEPTED SOLUTION

I don't believe, even now, there is a possibility to create a white-labeled vhost alias on the insecure vhost.

Please open a ticket in the support portal to ask for this.

(You will be able to do this with Apigee Hybrid)

View solution in original post

2 REPLIES 2

I don't believe, even now, there is a possibility to create a white-labeled vhost alias on the insecure vhost.

Please open a ticket in the support portal to ask for this.

(You will be able to do this with Apigee Hybrid)

Thank you Dino. We raised the support ticket. We got response stating that as of now there is no option to do this. Apigee team will have internal discussion which could lead to future list. We requested them at least to provide redirect check box (http to https) while creating virtual host.