Skip to content

Add a guide for proxying Strapi with Caddy - #3462

Closed
derrickmehaffy wants to merge 9 commits into
repo/add-nginx-proxy-guidefrom
repo/add-caddy-proxy-guide
Closed

Add a guide for proxying Strapi with Caddy#3462
derrickmehaffy wants to merge 9 commits into
repo/add-nginx-proxy-guidefrom
repo/add-caddy-proxy-guide

Conversation

@derrickmehaffy

@derrickmehaffy derrickmehaffy commented Sep 10, 2026

Copy link
Copy Markdown
Member

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.

Stacked on #3461. Review that one first.

Direct preview link 👉 here

@vercel

vercel Bot commented Sep 10, 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:21pm UTC

Request Review

@derrickmehaffy
derrickmehaffy force-pushed the repo/add-nginx-proxy-guide branch from c5595bb to 5249ede Compare September 10, 2026 17:45
@derrickmehaffy
derrickmehaffy force-pushed the repo/add-caddy-proxy-guide branch from 0444b67 to 9e71a9b Compare September 10, 2026 17:45
@pwizla
pwizla force-pushed the repo/add-nginx-proxy-guide branch from 5249ede to 9a1a532 Compare September 11, 2026 08:36
@pwizla
pwizla force-pushed the repo/add-caddy-proxy-guide branch from 9e71a9b to 8576819 Compare September 11, 2026 08:38
@pwizla
pwizla force-pushed the repo/add-caddy-proxy-guide branch from 8576819 to dc0e3a4 Compare September 11, 2026 09:10
@pwizla
pwizla force-pushed the repo/add-caddy-proxy-guide branch from dc0e3a4 to 9749c89 Compare September 11, 2026 09:16
@pwizla
pwizla force-pushed the repo/add-caddy-proxy-guide branch from 9749c89 to 67cd9e6 Compare September 11, 2026 09:33
@pwizla
pwizla force-pushed the repo/add-caddy-proxy-guide branch from 67cd9e6 to dec548a Compare September 11, 2026 10:21
@pwizla pwizla added this to the 7.2.0 milestone Sep 11, 2026
@pwizla pwizla self-assigned this Sep 11, 2026
@pwizla pwizla added internal PRs created by the Strapi core team pr: new content PRs for new product features or new documentation sections source: CMS labels Sep 11, 2026
@pwizla
pwizla force-pushed the repo/add-caddy-proxy-guide branch from dec548a to 84c7130 Compare September 11, 2026 10:56
@pwizla
pwizla force-pushed the repo/add-caddy-proxy-guide branch from 84c7130 to 870d60e Compare September 11, 2026 11:02
derrickmehaffy and others added 2 commits September 11, 2026 14:15
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>
derrickmehaffy and others added 6 commits September 11, 2026 14:15
… 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 commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Closed automatically when the branch this was stacked on was deleted on merge. Continues in #3475, same branch and same content, rebased on main.

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: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants