Add a guide for proxying Strapi with Caddy - #3475
Merged
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
pwizla
added this pull request to stack #3476
September 11, 2026 12:35
Collaborator
Author
|
All good, is a backup copy of the original one after I messed up with stacked PRs 😅 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a deployment guide for serving Strapi behind Caddy, covering the
server.urlandserver.proxyoptions, a minimal Caddyfile with automatic HTTPS, thetrusted_proxiesoption that decides whether forwarded client addresses are preserved, and the/datavolume 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