Ngnix as a proxy for lxd host

we want to use nginx to communicate to lxdhost. I need your help to solve my issue which I am facing.

I read this somewhere on internet that http reverse proxies will not allow us to pass client certs

I know lxd uses tls based certs for authentication then how can we pass the cert in our reverse proxy so that we can authentic with the host.

ref communication: https://github.com/canonical/lxd-ui/issues/1190

Hello,

you can use a proxy in tcp mode, so ssl is passed through from your client to lxd directly. I am not sure if nginx allows for that, but HaProxy for sure can be configured in mode tcp.

Kind regards,
David

2 Likes

Can you please help me in this issue?

Sure, I gave an answer over there.