You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS (cmd: uname -a):Linux xxxxx 4.19.90-2012.5.0.0054.oe1.x86_64 #1 SMP Tue Dec 22 15:58:47 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
OpenResty / Nginx version (cmd: nginx -V or openresty -V):
nginx version: openresty/1.19.3.1
built by gcc 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC)
built with OpenSSL 1.1.1h 22 Sep 2020 (running with OpenSSL 1.1.1k 25 Mar 2021)
etcd version, if have (cmd: run curl http://127.0.0.1:9090/v1/server_info to get the info from server-info API):
Issue 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/"
will redirect to "https://test.com/service/",
my expected to jump to "https://test.com:9443/service/"
Environment
apisix version
):2.6uname -a
):Linux xxxxx 4.19.90-2012.5.0.0054.oe1.x86_64 #1 SMP Tue Dec 22 15:58:47 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
nginx -V
oropenresty -V
):curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):luarocks --version
):/usr/local/bin/luarocks 3.4.0
The text was updated successfully, but these errors were encountered: