Skip to content

docs: add Caddy deployment guide to README.md and README-en.md#13

Merged
biglyan merged 1 commit into
masterfrom
claude/lucid-euler-xlylme
Jun 27, 2026
Merged

docs: add Caddy deployment guide to README.md and README-en.md#13
biglyan merged 1 commit into
masterfrom
claude/lucid-euler-xlylme

Conversation

@biglyan

@biglyan biglyan commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a "生产部署(Caddy)" / "Production Deployment (Caddy)" section to both README.md (Chinese) and README-en.md (English), inserted after the existing FrankenPHP Worker Mode section
  • Cover two deployment options with full Caddyfile examples:
    • FrankenPHP + worker.php — PHP embedded in Caddy, persistent worker process, zero cold-start (recommended)
    • Caddy + PHP-FPM — standard two-service setup for existing FPM environments
  • Each Caddyfile includes security headers (X-Frame-Options, X-Content-Type-Options, etc.), internal directory access blocking, static asset serving bypass, and PHP dispatch configuration
  • Notes on log directory permissions, sub-path (VDNAME) deployment, and environment variable injection
  • Side-by-side comparison table of both options (startup cost, complexity, best-fit scenario)

Test plan

  • Verify the new section renders correctly in GitHub Markdown preview for both files
  • Confirm Caddyfile snippets are syntactically valid by reviewing against Caddy documentation
  • Check that uri strip_prefix note for VDNAME matches the config key described in config/config.php

Generated by Claude Code

Add a dedicated "Production Deployment (Caddy)" section after the
FrankenPHP Worker Mode section in both the Chinese and English READMEs.

Covers two deployment options:
- FrankenPHP + worker.php (persistent-process, recommended)
- Caddy + PHP-FPM (standard setup)

Each option includes a full Caddyfile example with security headers,
internal directory access blocking, static asset serving, and PHP
dispatch. Notes on log directory permissions, sub-path (VDNAME)
deployment, and environment variable injection are also included.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NkvcLer1EewaUTWDbujBGD
@biglyan biglyan marked this pull request as ready for review June 27, 2026 14:32
@biglyan biglyan merged commit ffcf0b2 into master Jun 27, 2026
14 checks passed
@biglyan biglyan deleted the claude/lucid-euler-xlylme branch June 27, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants