Derek Coleman & Associates Inc logoDerek Coleman & Associates Inc

Home / Support / Oracle Cloud Marketplace / Caddy

Live

DCA Hardened Web Server for Caddy — Support & Quick Start

A hardened, CVE-patched virtual machine image running the Caddy web server — the modern, memory-safe web server with automatic HTTPS — on Oracle Linux 9.

At a glance

StatusLive on Oracle Cloud Marketplace
Version2.11.4
PlatformOracle Linux 9
Ports open in the host firewallSSH (22/tcp), 80/tcp, 443/tcp, 443/udp
CategoryNetworking
Upstream licenceApache-2.0
PricingPay-as-you-go software fee per OCPU-hour, billed by Oracle on your OCI invoice — see the listing's Pricing tab

Quick start

This is the listing's usage information, verbatim.

After launch:

  1. Connect over SSH as the opc user with the key you supplied at launch:
    ssh opc@<public-ip>
  2. Caddy runs as a systemd service, serving a placeholder page on port 80. Check status:
    sudo systemctl status caddy
  3. Browse to http://<public-ip> to confirm the placeholder page. (Your VCN security list must allow TCP 80/443 — the instance firewall already does.)
  4. To enable automatic HTTPS, point a DNS name (an A record) at this instance, then edit /etc/caddy/Caddyfile and replace the first line — :80 — with your domain name:
    example.com {
    root * /usr/share/caddy
    file_server
    }
  5. Reload to apply:
    sudo systemctl reload caddy

    Caddy then obtains and renews the TLS certificate automatically; no other step exists.

  6. To reverse-proxy an application instead of serving files, replace the site body with: reverse_proxy 127.0.0.1:3000
  7. Site content lives in /usr/share/caddy. Full Caddyfile reference: https://caddyserver.com/docs/caddyfile

The image is CVE-patched at build time. Apply ongoing updates with:

sudo dnf -y update

What the image provides

Still stuck?

Email support@dcassociatesgroup.com (response within 1 business day) or use the contact form. Include the listing name, your OCI region, the instance OCID and the output of sudo journalctl -u <service> -n 100 for the unit named in the quick start.

Caddy is a registered trademark of Stack Holdings GmbH. This image is an independent hardened distribution and is not affiliated with, endorsed by, or sponsored by the Caddy project or Stack Holdings GmbH.