restful-distributed-lock-manager
restful-distributed-lock-manager copied to clipboard
Running under subpath of the domain
Hi,
We would like to run your server in Kubernetes cluster. Our ingress configuration maps RDLM under the "https://example.com/lock-manager/"
The problem is that the server (and also the py client) is not handling this situation. The lock url in response only contains domain name and port.
<html><title>201: lock acquired at http://example.com/locks/foo1/a46d971d402d4b188abe4d1d1af67b10</title><body>201: lock acquired at http://example.com/locks/foo1/a46d971d402d4b188abe4d1d1af67b10</body></html>