add-caddy-route

Add a reverse_proxy route to an encrypted Caddyfile using agenix.

8|1|Updated Oct 21, 2015
One-click install
npx skills add https://github.com/iamruinous/nix-config --skill add-caddy-route
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-caddy-route
Source: https://github.com/iamruinous/nix-config/tree/main/.opencode/skills/add-caddy-route
Command: npx skills add https://github.com/iamruinous/nix-config --skill add-caddy-route

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables secure and automated updates to an encrypted Caddyfile by adding new reverse proxy routes, reducing manual configuration steps.

Core Features & Use Cases

  • Add a new reverse proxy route to the encrypted Caddyfile on the selected host.
  • Enforce secure handling by unlocking agenix, exporting, updating, re-encrypting, and rekeying.
  • Use cases include adding domain routes for different hosts (pilaster, monolith, zenith, obelisk) and applying cloud or internal routing patterns.

Quick Start

Provide the host, domain, and backend to add and apply a new route.

Frequently Asked Questions about add-caddy-route

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

FAQPage Schema
How do I add a reverse proxy route to an encrypted Caddyfile?

You can securely add a reverse proxy route by unlocking agenix, exporting the current Caddyfile, applying the new route, and re-encrypting with rekey and lock steps to maintain security.

What is the process for updating Caddy domain routing in multi-host environments?

Updating Caddy domain routing in multi-host environments involves unlocking the encrypted configuration, exporting the Caddyfile, adding the reverse proxy route, and re-encrypting to ensure secure management across hosts.

Do I need agenix to manage secure Caddy reverse proxy configurations?

Yes, managing secure Caddy reverse proxy configurations with this approach requires agenix to unlock, export, re-encrypt, and rekey the Caddyfile during route updates.

Can I use this method to apply cloud or internal routing patterns for different hosts?

Yes, you can apply cloud or internal routing patterns for different hosts by providing the specific host, domain, and backend to add and securely apply the new route.

Why does adding a Caddy route require rekey and lock steps?

Adding a Caddy route requires rekey and lock steps because the Caddyfile is encrypted; these actions re-encrypt the updated configuration and maintain secure secret management.