I don’t have an example with nginx on hand.
There is indeed a breaking change in wslink 1.1 vs 0.1 but using vtk 9.1 with latest vtk.js should be just fine.
When you close your tab the process should go away after a timeout. I think the default is 300 seconds. But you can make it shorter if you provide the argument --timeout 10
for example.