# Gateway Network Nginx Reverse Proxy

**URL:** <https://forum.inductiveautomation.com/t/gateway-network-nginx-reverse-proxy/72167>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 6, 2023, 8:16pm UTC](https://forum.inductiveautomation.com/t/gateway-network-nginx-reverse-proxy/72167 "2023-04-06T20:16:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cody.tamaki](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Post date:** [April 6, 2023, 8:16pm UTC](https://forum.inductiveautomation.com/t/gateway-network-nginx-reverse-proxy/72167/1 "2023-04-06T20:16:42Z")

</div>

Has anybody connected a gateway network web socket connection through an Nginx reverse proxy?

---

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [July 6, 2023, 10:59pm UTC](https://forum.inductiveautomation.com/t/gateway-network-nginx-reverse-proxy/72167/2 "2023-07-06T22:59:04Z")

</div>

I know the original post was about Apache but someone later said it worked for Nginx. It might help you. I use Caddy2 so don't know enough about Nginx to help. I still haven't been able to get the gateway network work through Caddy

> [@Ignition behind an apache reverse proxy, issue with perspective views](https://forum.inductiveautomation.com/t/ignition-behind-an-apache-reverse-proxy-issue-with-perspective-views/53576/5):
>
> In the end I used NGINX and it worked the first time Her for the community my conf file, I hope this will be useful for others: upstream ignition\_http { keepalive 20; server 127.0.0.1:8088; } server { listen 80; return 301 https://$host$request\_uri/; } server { listen 443 http2 ssl; listen [::]:443 http2 ssl; server\_name YOUR\_SERVER\_FQDN; ssl\_certificate PATH\_TO\_PUBLIC\_CHAIN; ssl\_certificate\_key PATH\_TO\_PRIVATE\_KEY; location / { proxy\_http\_v…
