Spring Cloud Gateway for Tanzu

  1. Create the Gateway for the service.

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

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