caddy-reverse-proxy

Manage Caddy reverse proxy configurations with automatic HTTPS and Docker deployments.

2|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/ddnetters/homelab-agent-skills --skill caddy-reverse-proxy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: caddy-reverse-proxy
Source: https://github.com/ddnetters/homelab-agent-skills/tree/main/caddy-reverse-proxy
Command: npx skills add https://github.com/ddnetters/homelab-agent-skills --skill caddy-reverse-proxy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the configuration and management of Caddy as a reverse proxy, enabling automatic HTTPS, streamlined Docker integration, and common homelab deployment patterns.

Core Features & Use Cases

  • Caddyfile Configuration: Provides examples for basic reverse proxying, multiple domains, path-based routing, and WebSocket support.
  • Automatic HTTPS: Leverages Caddy's built-in automatic certificate acquisition for Let's Encrypt.
  • Docker Integration: Includes a docker-compose.yml example for easy deployment and explains network configurations.
  • Security Features: Demonstrates basic auth, IP restrictions, and TLS options like DNS challenges.
  • Use Case: Quickly set up a secure reverse proxy for multiple internal services (e.g., Grafana, n8n) with unique subdomains and automatic SSL certificates.

Quick Start

Use the caddy-reverse-proxy skill to configure a Caddyfile to reverse proxy traffic for 'app.example.com' to a backend service running on 'localhost:8080'.

Frequently Asked Questions about caddy-reverse-proxy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a Caddy reverse proxy with automatic HTTPS for a homelab?

To configure a Caddy reverse proxy with automatic HTTPS, you write a Caddyfile defining your domain and backend service, and Caddy automatically handles Let's Encrypt certificate acquisition. This streamlines secure service exposure for homelab setups.

What is the best way to route multiple subdomains to different Docker services using Caddy?

Routing multiple subdomains to Docker services using Caddy involves defining multiple site blocks in your Caddyfile and configuring your Docker network. Caddy supports path-based routing and domain rules to direct traffic to specific backend containers.

Can I use Caddy to set up basic auth and IP restrictions for internal web services?

Yes, you can use Caddy to set up basic auth and IP restrictions for internal web services. Caddyfile syntax supports security features including basic authentication and IP whitelisting to protect exposed homelab applications.

Does Caddy support websocket proxying and dynamic configuration reloads?

Caddy supports websocket proxying and dynamic configuration reloads out of the box. The Caddyfile allows you to configure reverse proxy rules that maintain websocket connections, and you can reload configurations dynamically without downtime.

How do I deploy Caddy in Docker with environment variables for flexible reverse proxy setups?

To deploy Caddy in Docker with environment variables, use a docker-compose configuration that defines the Caddy service and its network. Caddy integrates environment variables into the Caddyfile, allowing flexible dynamic configuration across different deployment contexts.