caddy-modern-config

Automate Caddy configuration for auto-HTTPS and PHP-FastCGI deployment.

2|1|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/sraloff/gravityboots --skill caddy-modern-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: caddy-modern-config
Source: https://github.com/sraloff/gravityboots/tree/main/.agent/skills/caddy-modern-config
Command: npx skills add https://github.com/sraloff/gravityboots --skill caddy-modern-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure Caddy as a web server or reverse proxy with automatic HTTPS and PHP FastCGI support, simplifying deployment workflows.

Core Features & Use Cases

  • Auto-HTTPS by default for domain-like hosts.
  • Reverse proxy to Python/Node apps.
  • PHP FastCGI configuration snippets and secure headers.
  • Use Case: Deploy a local site behind Caddy with TLS enabled and backend services proxied behind it.

Quick Start

Create a Caddyfile with your domain and run Caddy to enable automatic TLS and FastCGI support.

Frequently Asked Questions about caddy-modern-config

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

FAQPage Schema
How do I configure Caddy for automatic HTTPS and PHP FastCGI?

Configure Caddy for automatic HTTPS and PHP FastCGI by using a ready-to-use Caddyfile that sets up auto-TLS for domain-like hosts and connects reverse_proxy directives to your PHP backend.

Can I use Caddy as a reverse proxy for Python or Node apps with TLS enabled?

Yes, you can use Caddy as a reverse proxy for Python or Node apps with TLS enabled. The configuration automatically provisions certificates for domain-like hosts while proxying requests to backend services.

What is the best way to set up a local development site with Caddy and TLS?

The best way to set up a local development site with Caddy and TLS is to apply a pre-configured Caddyfile that handles automatic HTTPS provisioning and secure headers for straightforward local deployments.

Does this Caddy setup include security headers for PHP deployments?

Yes, this Caddy setup includes security header configurations for PHP deployments. The generated Caddyfile applies secure headers alongside the PHP FastCGI setup and reverse proxy directives.

When should I not use an automated Caddyfile for reverse proxy and FastCGI?

You should not use an automated Caddyfile for reverse proxy and FastCGI in large-scale deployments. This configuration is designed for local development, staging, and small deployments requiring straightforward TLS.

Why does Caddy enable automatic HTTPS for local development environments?

Caddy enables automatic HTTPS for local development environments to provide valid TLS certificates for domain-like hosts. This ensures secure local testing conditions without manual certificate management.