restful-distributed-lock-manager icon indicating copy to clipboard operation
restful-distributed-lock-manager copied to clipboard

Running under subpath of the domain

Open seggcsont opened this issue 2 years ago • 0 comments

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>

seggcsont avatar Aug 23 '22 08:08 seggcsont