Libresource as been thought at the beginning to be deployed at a context root.
So to do the thing you want to do, I would recommend:
- Edit the file Distribution/build.properties and change the property "services.web.context=/libresource"
- Set the kernel.serverUrl=http://dns_name_machine_A
- change the proxy to point to http://dns_name_machine_B:9000/libresource
Then, let me know… But basically I would deploy the libresource on the server B with the same context as it is exposed on machine_A.
I made recent change to support context root but I don't remember if I transfered them to LSC.
Regards,