How can I configure a Spring Cloud Gateway server to accept both HTTP and HTTPS connections?
I have SSL configured to port 443 on the Gateway server. I also want to accept HTTP requests on port 80. I know how to do this with a standard Spring Boot application running Tomcat, but I need to know how to configure the Netty server that Gateway uses.
So apparently spring cloud gateway uses webflux which does not directly support it, but there are some ways: How to configure in Spring Boot 2 (w/ WebFlux) two ports for HTTP and HTTPS?
Also waiting for a real solution: https://github.com/spring-projects/spring-boot/issues/12035
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With