# Multiple Ignition servers through reverse proxy

**URL:** <https://forum.inductiveautomation.com/t/multiple-ignition-servers-through-reverse-proxy/90683>\
**Category:** Ignition\
**Created:** [May 21, 2024, 2:21pm UTC](https://forum.inductiveautomation.com/t/multiple-ignition-servers-through-reverse-proxy/90683 "2024-05-21T14:21:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarvis\_Coghlin](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Jarvis\_Coghlin](https://forum.inductiveautomation.com/u/Jarvis_Coghlin)\
**Post date:** [May 21, 2024, 2:21pm UTC](https://forum.inductiveautomation.com/t/multiple-ignition-servers-through-reverse-proxy/90683/1 "2024-05-21T14:21:37Z")

</div>

Hello,  
As the title says, I am currently creating a system to access multiple Ignition servers through an Nginx reverse proxy server. I have not found a clean solution for this yet, and was wondering if anyone has experience doing this.  
Ideally each server would be under it's own subpath, so:  
company. com/ignition-one/  
company. com/ignition-two/  
However, it seems when Ignition tries to open a websocket connection, both try to connect to ws://company-proxy/ which could not be resolved.  
It seems for Ignition to sent proper websocket connections, It needs either a subdomain, or a port, so:  
ignition-two. [company.com/](http://company.com/)  
ignition-one. [company.com/](http://company.com/)  
OR  
company. com:4000/  
company. com:4001/  
I have got the system working with ports, however this is not optimal, as there will potentially be ~40 servers connected (most traffic will not go through the reverse proxy), as well as other applications, so having clear names would be best.  
Does anyone have experience setting up multiple servers under a reverse proxy? Is there some way to serve Ignition from a subpath, or a subdomain?  
Thanks in advance for the feedback! 🙂

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 21, 2024, 2:29pm UTC](https://forum.inductiveautomation.com/t/multiple-ignition-servers-through-reverse-proxy/90683/2 "2024-05-21T14:29:13Z")

</div>

Subpath, no. Subdomain, yes.

For the latter, just tell Ignition that its public hostname is that subdomain. You'll likely want the proxy to handle SSL, and have Ignition trust the proxy's substitute client headers.

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [May 21, 2024, 2:48pm UTC](https://forum.inductiveautomation.com/t/multiple-ignition-servers-through-reverse-proxy/90683/3 "2024-05-21T14:48:24Z")

</div>

> [@Jarvis\_Coghlin](#):
>
> Does anyone have experience setting up multiple servers under a reverse proxy?

We have about a dozen development gateways running behind Traefik, each accessible by subdomain ([client-subdomain.dev.our-company.com](http://client-subdomain.dev.our-company.com)).

> [@pturmel](#):
>
> You'll likely want the proxy to handle SSL, and have Ignition trust the proxy's substitute client headers.

Yeah this is how we do it.  
Care to post your site configuration?
