jwrookie commented on issue #7011:
URL: https://github.com/apache/apisix/issues/7011#issuecomment-1129527674

   After discussion, we adopted the following solution
   
   When enabling `http_to_https`, the ports in the redirect URL will pick a 
value in the following order (in descending order of priority)
     * Read `plugin_attr.redirect.https_port` from the configuration file 
(`conf/config.yaml`).
     * If `apisix.ssl` is enabled, read `apisix.ssl.listen_port` first, and if 
it does not exist, read `apisix.ssl.listen` and select a port randomly from it.
     * Use 443 as the default https port.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to