You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/06/09 10:56:51 UTC

[GitHub] [apisix] ieayoio opened a new issue #4400: request help: Can the port be set for http_to_https in the redirect plugin?

ieayoio opened a new issue #4400:
URL: https://github.com/apache/apisix/issues/4400


   ### 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 (cmd: `apisix version`):2.6
   * 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):
   ```
   {"hostname":"xxxxxx","boot_time":1623142227,"etcd_version":"3.4.0","up_time":93656,"last_report_time":1623235829,"id":"xxxxx","version":"2.6"}
   ```
   * apisix-dashboard version, if have:
   * luarocks version, if the issue is about installation (cmd: `luarocks --version`):`/usr/local/bin/luarocks 3.4.0`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] ieayoio closed issue #4400: request help: Can the port be set for http_to_https in the redirect plugin?

Posted by GitBox <gi...@apache.org>.
ieayoio closed issue #4400:
URL: https://github.com/apache/apisix/issues/4400


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] kwanhur commented on issue #4400: request help: Can the port be set for http_to_https in the redirect plugin?

Posted by GitBox <gi...@apache.org>.
kwanhur commented on issue #4400:
URL: https://github.com/apache/apisix/issues/4400#issuecomment-1074917196


   I'll try to solve it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tokers commented on issue #4400: request help: Can the port be set for http_to_https in the redirect plugin?

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #4400:
URL: https://github.com/apache/apisix/issues/4400#issuecomment-1066228687


   > I have the same issue. So what's update ?
   
   Would you like to try it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis commented on issue #4400: request help: Can the port be set for http_to_https in the redirect plugin?

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #4400:
URL: https://github.com/apache/apisix/issues/4400#issuecomment-1066108722


   I reopened this issue, welcome PR from anyone


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] rockjing commented on issue #4400: request help: Can the port be set for http_to_https in the redirect plugin?

Posted by GitBox <gi...@apache.org>.
rockjing commented on issue #4400:
URL: https://github.com/apache/apisix/issues/4400#issuecomment-1066099189


   I have the same issue. So what's update ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tokers commented on issue #4400: request help: Can the port be set for http_to_https in the redirect plugin?

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #4400:
URL: https://github.com/apache/apisix/issues/4400#issuecomment-857601447


   @ieayoio Currently we can't, but PR's welcome to extend it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org