# Vaultwarden in https behind Nginx Proxy Manager

**URL:** <https://vaultwarden.discourse.group/t/vaultwarden-in-https-behind-nginx-proxy-manager/2974>\
**Category:** Uncategorized\
**Created:** [October 5, 2023, 8:15am UTC](https://vaultwarden.discourse.group/t/vaultwarden-in-https-behind-nginx-proxy-manager/2974 "2023-10-05T08:15:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xillibit](https://avatars.discourse-cdn.com/v4/letter/x/779978/32.png) [@xillibit](https://vaultwarden.discourse.group/u/xillibit)\
**Post date:** [October 5, 2023, 8:15am UTC](https://vaultwarden.discourse.group/t/vaultwarden-in-https-behind-nginx-proxy-manager/2974/1 "2023-10-05T08:15:11Z")

</div>

Hello,

I have vaultwarden installed in docker image and Nginx Proxy Manager (NPM) in another docker image on my QNAP TS-673A. The vaultwarden has the ip 192.168.0.227

NPM listens on this two ports :

35443  
35080

On my router the port 443 and 80 are already used by others services, so i have set up :

on my router 16897 forward to 35443 on the ip 192.168.0.228 on my NAS

I can access to [http://192.168.0.227](http://192.168.0.227) but not to [https://192.168.0.227](https://192.168.0.227)

In NPM i have set up the proxy with the domain [https://pass.mydomain.com](https://pass.mydomain.com), when i try [https://pass.mydomain.com:16897](https://pass.mydomain.com:16897) i have the let’s encrypt certificate but i have an error page : 502 Bad Gateway

What i have missed in the configuration ?

Thanks by advance
