Want to mix LocationMatch
and ProxyPass
? Not so fast.
<LocationMatch ^/(regex/here/.*)$> ProxyPassMatch http://backend/$1 </LocationMatch>
Don’t forget to use ProxyPassReverse
if you need it (it shouldn’t be inside the LocationMatch
directive, though).
References: