Skip to content

Conversation

poespas
Copy link
Collaborator

@poespas poespas commented Sep 24, 2025

No description provided.


Create a new vhost and set its type to `proxy`. In the example below we create a vhost for `proxy.myapp.hypernode.io`:

```bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing some inconsistency with other docs:

  • In these examples, use console over bash (because there's a prompt)
  • Use example instead of myapp

Open `public.proxy.conf`. The only lines you normally need to change are at the top: the upstream host and port your application listens on. By default they point to `localhost:3000`.

```nginx
app@abc123-app-magweb-cmbl:~/nginx/proxy.myapp.hypernode.io$ cat public.proxy.conf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like to just refer to the filename in text, then have a proper syntax highlighting on the nginx config (without the bash prompt etc)

This command creates a vhost directory under `/data/web/nginx/<your-domain>/` with the proxy templates. You will see the following files:

```console
app@abc123-myapp-magweb-cmbl:~/nginx/proxy.myapp.hypernode.io$ ls
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another inconsistent prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants