# External URL app w/ Reverse Proxy?

**URL:** <https://discourse.openondemand.org/t/external-url-app-w-reverse-proxy/3791>\
**Category:** Get Help\
**Created:** [October 7, 2024, 8:29am UTC](https://discourse.openondemand.org/t/external-url-app-w-reverse-proxy/3791 "2024-10-07T08:29:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![volhpc](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/volhpc/32/2291_2.png) [@volhpc](https://discourse.openondemand.org/u/volhpc)\
**Post date:** [October 7, 2024, 8:29am UTC](https://discourse.openondemand.org/t/external-url-app-w-reverse-proxy/3791/1 "2024-10-07T08:29:50Z")

</div>

Hello,

I have an external app at [http://xyz.com:8080](http://xyz.com:8080),  
I’m trying to create a simple ood app in the dashboard that will reverse proxy to that external app in a new tab.  
Using ChatGTP I created a manifest.yml and an nginx\_stage.yml files:

```auto
---
server:
  - location:
      - proxy_pass: "http://xyz:8080/"
        proxy_set_header: "Host $host"
        proxy_set_header: "X-Real-IP $remote_addr"
        proxy_set_header: "X-Forwarded-For $proxy_add_x_forwarded_for"
        proxy_set_header: "X-Forwarded-Proto $scheme"

```

the error i’m getting is:

```auto
App has not been initialized or does not exist
This is the first time this app has been launched in your per-user NGINX (PUN) server. This requires a configuration change followed by a restart of your PUN server. Be sure you save all the work you are doing in other apps that have active websocket connections (i.e., Shell App) and you complete all file uploads/downloads.

Clicking the "Initialize App" button will apply the configuration change and restart your per-user NGINX (PUN) server.

```

Pressing the “Initialize App” button doesn’t do anything.  
What am I missing here?  
Thank you

---

<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:** [October 7, 2024, 1:33pm UTC](https://discourse.openondemand.org/t/external-url-app-w-reverse-proxy/3791/2 "2024-10-07T13:33:02Z")

</div>

> [@volhpc](#):
>
> Pressing the “Initialize App” button doesn’t do anything.  
> What am I missing here?

You don’t have an actual application here. No idea what ChatGPT came up with.

> [@volhpc](#):
>
> I’m trying to create a simple ood app in the dashboard that will reverse proxy to that external app in a new tab.

Do you need to proxy to this new app or just trying to add a link to it? You can add links to the navigation bar fairly easily.

[https://osc.github.io/ood-documentation/latest/customizations.html#changing-the-navigation-bar](https://osc.github.io/ood-documentation/latest/customizations.html#changing-the-navigation-bar)

We don’t generally proxy to things that are not user based apps running on a compute node. You may be able to try to proxy to `/node/xyz.com/8080` (as if it were something like Jupyter running on a compute node) but we generally expect these origin servers to be an app that the user fully controls, unlike this app.

---

<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:** [April 5, 2025, 1:33pm UTC](https://discourse.openondemand.org/t/external-url-app-w-reverse-proxy/3791/3 "2025-04-05T13:33:50Z")

</div>

Closed on April 5, 2025, 1:33pm UTC

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