hi, the community

Issue #4400 <https://github.com/apache/apisix/issues/4400> point out that, 
expectedly modify default redirect server port. Original description:

Can the port be set for http_to_https in the redirect plugin?

The default https port of apisix is 9443, but after I set http_to_https to true,
visiting "http://test.com:9080/service/ <http://test.com:9080/service/>"
will redirect to "https://test.com/service/ <https://test.com/service/>",
my expected to jump to "https://test.com:9443/service/ 
<https://test.com:9443/service/>"


From comment 
<https://github.com/apache/apisix/pull/6686#issuecomment-1075798013> posts that 
better to extend `uri` attribute. This will bring a big change under 
http_to_https mode, as my explanation here 
<https://github.com/apache/apisix/pull/6686#issuecomment-1075886567>.


Key-point Only one of http_to_https, uri or regex_uri can be specified.

Extends uri under http_to_https mode, it’ll break this limitation.


Hoping hear your voice.


Kwanhur Huang
TL;DR





Kwanhur Huang
TL;DR

Reply via email to