# Reverse proxy test not working

**URL:** <https://discourse.openondemand.org/t/reverse-proxy-test-not-working/795>\
**Category:** Get Help\
**Created:** [March 23, 2020, 8:55pm UTC](https://discourse.openondemand.org/t/reverse-proxy-test-not-working/795 "2020-03-23T20:55:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasbrTTU](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/thomasbrttu/32/249_2.png) [@thomasbrTTU](https://discourse.openondemand.org/u/thomasbrTTU)\
**Post date:** [March 23, 2020, 8:55pm UTC](https://discourse.openondemand.org/t/reverse-proxy-test-not-working/795/1 "2020-03-23T20:55:09Z")

</div>

The login to the reverse proxy ([https://ondemand.hpcc.ttu.edu/node/compute-19-10/5432/](https://ondemand.hpcc.ttu.edu/node/compute-19-10/5432/)) on one of the compute nodes using the instructions at [https://osc.github.io/ood-documentation/master/app-development/interactive/setup/enable-reverse-proxy.html#verify-it-works](https://osc.github.io/ood-documentation/master/app-development/interactive/setup/enable-reverse-proxy.html#verify-it-works) produces the error “The requested URL was not found on this server.” If the hostname for the compute node is compute-19-10 do we need to add the hpcc.ttu.edu to the URL so that it is accessed as compute-19-10.hpcc.ttu.edu even though that URL is not recognized locally or outside of the local network?

---

<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:** [March 23, 2020, 9:31pm UTC](https://discourse.openondemand.org/t/reverse-proxy-test-not-working/795/2 "2020-03-23T21:31:38Z")

</div>

It’s probably a regex issue.

What’s your `host_regex` in `/etc/ood/config/ood_portal.yml`? I’m guessing it should be something like `compute-\\d+-\\d+`. I don’t think the domain matters a whole lot as long as the hostname is dns addressable with out it.

In any case, it sounds like a regex problem. If you got like a 503 backend proxy error - that’s an addressability problem where the ondemand host cannot connect to the compute node.

---

<div class="post-metadata">

**Author:** ![thomasbrTTU](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/thomasbrttu/32/249_2.png) [@thomasbrTTU](https://discourse.openondemand.org/u/thomasbrTTU)\
**Post date:** [March 24, 2020, 12:56pm UTC](https://discourse.openondemand.org/t/reverse-proxy-test-not-working/795/3 "2020-03-24T12:56:01Z")

</div>

Jeff after making the change it works like a charm. Thanks.

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:36pm UTC](https://discourse.openondemand.org/t/reverse-proxy-test-not-working/795/4 "2022-05-26T15:36:51Z")

</div>

Closed on May 26, 2022, 3:36pm UTC


