I would like not only to proxy to a custom nodejs server for the body of the page, but also a subset of javascript files in the app. How can I configure AEM to do this?
If this were sitting behind an nginx server I would just instruct it to proxy all calls to _next/runtime/**/*.js to the proxy server, while serving etc/clientLib/**/*/js calls as per normal (from AEM). Is it possible to do this?