HTTP Error 502 Caddy on EC2 running Roombelt

1. The problem I’m having:

I am trying to setup Roombelt web server on my Ubuntu 22.04.2 LTS server running on EC2 AWS.
In the server I have installed:

  1. Caddy (Install — Caddy Documentation)
  2. Roombelt from https://files.roombelt.com/roombelt-3.23.1-linux.zip

I have setup everything according to: Office365 - Roombelt
Though I do not know what anything means so if anyone could help me I would be delighted…

Also, I am an absolute noob at this and have no idea what I am doing.

2. Error messages and/or full log output:

I get error HTTP 502 when going to my page roombelt.atrandi.com
I added the roombelt to DNS with A record.

3. Caddy version:

v2.6.4 h1:2hwYqiRwk1tf3VruhMpLcYTg+11fCdr8S3jhNAdnPy8=

4. How I installed and ran Caddy:

Caddy (Install — Caddy Documentation)
I installed caddy following these commands and did not use any addtional commands to start running it. Every time I edit the caddyfile I run sudo systemctl reload caddy to load new configuration into Caddy

a. System environment:

Ubuntu 22.04.2 LTS

No idea what systemd is.

b. Command:

 sudo systemctl reload caddy after I edit caddyfile

d. My complete Caddy config:

  GNU nano 6.2                                      /etc/caddy/Caddyfile                                               roombelt.atrandi.com
reverse_proxy 16.170.12.221:3000

5. Links to relevant resources:

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