anjuna
anjuna
Using `Path=/myapp/api/**` does work although the `StripPrefix` filter is then applied to the `myapp` segment. So for example, hitting `http://localhost:8080/myapp/api/maps` returns a 404 from google saying "/api/maps was not found"
So it works with: ``` spring.webflux.base-path: /myapp spring.cloud.gateway: routes: - id: google-route uri: https://www.google.com/ predicates: - Path=${spring.webflux.base-path}/api/** filters: - StripPrefix=2 ``` But then if `base-path: ` is set, ie. the...
This was a hard requirement for us so I implemented a workaround: ``` http .addFilterAt(new StripsProxyPathFilter, SecurityWebFiltersOrder.FIRST) //etc ``` Where the `StripsProxyPathFilter` just takes the substring of the url without...