mkopylec / charon-spring-boot-starter

Reverse proxy implementation in form of a Spring Boot starter.
Apache License 2.0
240 stars 54 forks source link

Can mapping have an exclusion property? #81

Closed lcx-seima closed 5 years ago

lcx-seima commented 5 years ago

I noticed code here is to resolve mapping by matching uri prefix. In some case, I made reverse-proxy under path /some/path, but I still want some of sub-paths don't obey the proxy rules. In this way, path like /some/path/not/be/proxy still can be handled by my application.

thanks.

mkopylec commented 5 years ago

Hi, in version 4.0.0 there will be a path rewrite mechanism based on regex groups, so it will be possible to handle your case. I am no longer developing the 3.x.x version, if you need this fix in 3.x.x please provide a pull request.

mkopylec commented 5 years ago

This can be done in 4.0.0 by setting the right regex in request path rewriter.