Apache2代理通行证包括URL上的所有参数

Edc*_*sta 6 apache2 proxypass

是否可以在Apache2上进行代理传递,该传递还包含传递给后端服务器的参数?

例:

www.frontserver.com -> www.frontserver.com (meaning that on the base directory it will not be proxied to any backend servers.)
Run Code Online (Sandbox Code Playgroud)

如果它位于/ _nuxt目录下,它将被代理

www.frontserver.com/_nuxt/index.js -> backserver.com/_nuxt/index.js (dynamicaly)
Run Code Online (Sandbox Code Playgroud)

nap*_*zba 0

您可以使用ProxyPassMatch来匹配正则表达式

ProxyPassMatch "^_nuxt/(.*)" "http://backserver.com/_nuxt/$1"
Run Code Online (Sandbox Code Playgroud)