# OOD behind Nginx reverse proxy

**URL:** <https://discourse.openondemand.org/t/ood-behind-nginx-reverse-proxy/2671>\
**Category:** Get Help\
**Tags:** question\
**Created:** [April 27, 2023, 10:04pm UTC](https://discourse.openondemand.org/t/ood-behind-nginx-reverse-proxy/2671 "2023-04-27T22:04:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsonoda](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/nsonoda/32/1575_2.png) [@nsonoda](https://discourse.openondemand.org/u/nsonoda)\
**Post date:** [April 27, 2023, 10:04pm UTC](https://discourse.openondemand.org/t/ood-behind-nginx-reverse-proxy/2671/1 "2023-04-27T22:04:58Z")

</div>

Hi!

Is it possible to configure an Nginx reverse proxy in front of OOD? This is because only the Nginx reverse proxy has external access.

Thanks,  
Nícolas

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [April 28, 2023, 1:50pm UTC](https://discourse.openondemand.org/t/ood-behind-nginx-reverse-proxy/2671/2 "2023-04-28T13:50:49Z")

</div>

Probably, though I don’t know the exact configuration you’d need. Likely you’d just need to forward all the requests as is without modification, but I’m not exactly sure.

---

<div class="post-metadata">

**Author:** ![jose-d](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jose-d/32/703_2.png) [@jose-d](https://discourse.openondemand.org/u/jose-d)\
**Post date:** [May 3, 2023, 2:46pm UTC](https://discourse.openondemand.org/t/ood-behind-nginx-reverse-proxy/2671/3 "2023-05-03T14:46:39Z")

</div>

most likely yes, we have whole ood behind haproxy with statement like this

```auto
backend be_ood
  balance roundrobin
  option forwardfor
  server ondemand1 ipv4@ondemand1.phoebe.lan:443 check ssl verify none init-addr last,libc,none

```

I think you’ll need to configure also portal.yml:

```auto
...
servername: your.public.domain.tld
...
proxy_server: your.public.domain.tld
...
port: 443
...

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [October 30, 2023, 2:47pm UTC](https://discourse.openondemand.org/t/ood-behind-nginx-reverse-proxy/2671/4 "2023-10-30T14:47:13Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
