NPM forwarding to vaultwardeno not working

Hi All,. I’m new to using vaultwarden.

I have successfully deployed vault warden using the docker compose following this guide How to Install Vaultwarden Password Manager with Docker

When i direct my router direct to the VM it works like a dream, however I have other services running have everything running through NPM (via Cloudpanel).

So when it going through the NPM i get 502 Bad Gateway, from what i understand this means that it is unable to reach the location

my NPM is locates on IP .15 and my vaultwarden container is on .22 on my local range

additionally if i pointed my local host file to the VM IP holding the container (.22) it works

any help would be appreciated,.

NPM (?) is it NGINX Proxy Manager you are referring to?