Ellin.com
Not Very Interesting
Spring Cloud Gateway for Tanzu
Spring Cloud for Tanzu
  1. Create the Gateway for the service.

    1
    2
    3
    
    {
        "host":"jeff-gateway2"
    }
    
  2. Bind the app using the following config. uri will be added automatically. If available an internal route will be preferred.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    
    {
        "routes": [
            {
                "predicates":["RemoteAddr=10.1.7.1/24"],
                "filters":["StripPrefix=0"]
            }
        ]
    
    }
    

Last modified on 2020-07-14

comments powered by Disqus