Skip to content
Back to skills

Caddy Modern Config

ASecurity

Caddyfile configuration, auto-HTTPS, and FastCGI.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
devopspythonphpnodesecurity

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill caddy-modern-config --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Caddy Modern Config?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Caddy Modern Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-caddy-modern-config/badge)](https://www.skillsdirectory.com/skills/david-li0406-caddy-modern-config)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: caddy-modern-config
description: Caddyfile configuration, auto-HTTPS, and FastCGI.
---

# Caddy Modern Config

## When to use this skill
- Configuring Caddy as a web server or reverse proxy.
- Setting up local HTTPS.
- Deploying PHP/Python apps with Caddy.

## 1. Caddyfile Basics
- **Syntax**: `domain { directives }`.
- **Auto-HTTPS**: Enabled by default for any host that looks like a domain.

## 2. Reverse Proxy
- **Python/Node**:
  ```caddy
  example.com {
      reverse_proxy localhost:3000
  }
  ```

## 3. PHP (FastCGI)
- **Directives**: Use `php_fastcgi` preset.
  ```caddy
  example.com {
      root * /var/www/site/public
      php_fastcgi unix//run/php/php8.3-fpm.sock
      file_server
  }
  ```

## 4. Security
- **Headers**: Add basic security headers easily.
  ```caddy
  header {
      Strict-Transport-Security "max-age=31536000;"
      X-Content-Type-Options "nosniff"
  }
  ```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…