Skip to content

Add a guide for proxying Strapi with Caddy - #3475

Merged
pwizla merged 10 commits into
mainfrom
repo/add-caddy-proxy-guide
Sep 11, 2026
Merged

Add a guide for proxying Strapi with Caddy#3475
pwizla merged 10 commits into
mainfrom
repo/add-caddy-proxy-guide

Conversation

@pwizla

@pwizla pwizla commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

This PR adds a deployment guide for serving Strapi behind Caddy, covering the server.url and server.proxy options, a minimal Caddyfile with automatic HTTPS, the trusted_proxies option that decides whether forwarded client addresses are preserved, and the /data volume that keeps issued certificates across container restarts. It also replaces the dead Strapi Forum links for Caddy in the deployment and FAQ pages.

Replaces #3462, which GitHub closed automatically when the branch it was stacked on was deleted on merge. Same branch, same content, rebased on main.

Direct preview link 👉 here

derrickmehaffy and others added 9 commits September 11, 2026 14:26
Replaces the Strapi Forum guide that went offline when the forum shut down.
Covers the Strapi side (server.url, server.proxy, upload body limits) and the
Caddyfile side, including automatic HTTPS, the trusted_proxies option that
governs whether forwarded addresses are preserved, and the /data volume that
persists issued certificates across container restarts.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
… directive

The directive is experimental and needs Caddy v2.10.0 or later, so readers on
an earlier version need the Strapi-side limit instead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Replaces the public url, proxy header and upload limit blocks with the shared
snippets, keeping the sentences that describe how Caddy itself behaves. This
also resolves wording that had already drifted from the Nginx guide.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@pwizla pwizla self-assigned this Sep 11, 2026
@vercel

vercel Bot commented Sep 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Sep 11, 2026 12:35pm UTC

Request Review

@github-actions github-actions Bot added internal PRs created by the Strapi core team pr: new content PRs for new product features or new documentation sections source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo labels Sep 11, 2026
@pwizla pwizla added this to the 7.2.0 milestone Sep 11, 2026
@pwizla

pwizla commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator Author

All good, is a backup copy of the original one after I messed up with stacked PRs 😅

@pwizla
pwizla merged commit 8bfd37d into main Sep 11, 2026
6 checks passed
@pwizla
pwizla deleted the repo/add-caddy-proxy-guide branch September 11, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: new content PRs for new product features or new documentation sections source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants