# Has anyone deployed a production instance of Mender behind an nginx reverse proxy?

**URL:** <https://hub.mender.io/t/has-anyone-deployed-a-production-instance-of-mender-behind-an-nginx-reverse-proxy/6319>\
**Category:** General Discussions\
**Created:** [November 6, 2023, 4:27pm UTC](https://hub.mender.io/t/has-anyone-deployed-a-production-instance-of-mender-behind-an-nginx-reverse-proxy/6319 "2023-11-06T16:27:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmcsun](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/cmcsun/32/2058_2.png) [@cmcsun](https://hub.mender.io/u/cmcsun)\
**Post date:** [November 6, 2023, 4:27pm UTC](https://hub.mender.io/t/has-anyone-deployed-a-production-instance-of-mender-behind-an-nginx-reverse-proxy/6319/1 "2023-11-06T16:27:07Z")

</div>

I’m already using traefik on this server and have had absolutely zero luck with getting mender to work behind traefik. So now I have an nginx reverse proxy instance which traefik is pointing to. So I am trying to get mender to work behind the reverse proxy and I am getting 503 error. Does anyone have any pointers or configs to share? I have edited my mender docker compose yaml to add the network and the virtual hostname for what i want my nginx proxy to point to

---

<div class="post-metadata">

**Author:** ![cmcsun](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/cmcsun/32/2058_2.png) [@cmcsun](https://hub.mender.io/u/cmcsun)\
**Post date:** [November 20, 2023, 5:01pm UTC](https://hub.mender.io/t/has-anyone-deployed-a-production-instance-of-mender-behind-an-nginx-reverse-proxy/6319/2 "2023-11-20T17:01:17Z")

</div>

I ended up just setting up an external IP address and a new internal NIC for Mender. Worked great because I already use traefik for other services running on this machine. seems that using two IP addresses is the best way to manage getting Mender on a machine with traefik and other services already running.
