Apache LocationMatch matching urls starting with…
问题 I'm using apache to redirect AJAX request to server backend in my AJAX app. Everything that starts with /service/ should go to service backend: <LocationMatch "/service"> ProxyPass http://backend:8080/service Keepalive=On Header set Cache-Control "no-cache, no-store, must-revalidate" </LocationMatch> Everything that starts with /auth goes to authentication server: <LocationMatch "/auth"> ProxyPass http://keycloak:8090/auth/ Keepalive=On </LocationMatch> I was happy with my apparently working