Skip to content

Add a guide for proxying Strapi with Traefik - #3464

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

Add a guide for proxying Strapi with Traefik#3464
pwizla merged 6 commits into
mainfrom
repo/add-traefik-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 Traefik, which configures routing from container labels rather than a configuration file. It covers the server.url and server.proxy options, the Docker labels that route to port 1337, automatic certificates and the volume that persists them, forwardedHeaders.trustedIPs for when a CDN sits upstream, and the Docker socket exposure that comes with the Docker provider. Unlike the other proxy guides this one has no Strapi Forum predecessor, so it adds a new card to the deployment page rather than replacing a dead link.

Stacked on #3463. 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:45pm UTC

Request Review

@derrickmehaffy
derrickmehaffy force-pushed the repo/add-traefik-proxy-guide branch from 84a881a to 8fee997 Compare September 10, 2026 17:46
@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from 8fee997 to 7c51570 Compare September 11, 2026 08:39
@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from 7c51570 to 84be0e9 Compare September 11, 2026 09:10
@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from 84be0e9 to 88003dc Compare September 11, 2026 09:17
@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from 88003dc to 00fce00 Compare September 11, 2026 09:33
@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from 00fce00 to 81ef16b Compare September 11, 2026 10:23
@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from 81ef16b to f945a52 Compare September 11, 2026 10:57
@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from f945a52 to 48e4a1e Compare September 11, 2026 11:03
@pwizla pwizla added this to the 7.2.0 milestone Sep 11, 2026
@pwizla pwizla self-assigned this Sep 11, 2026
@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from 48e4a1e to f265a90 Compare September 11, 2026 12:19
@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 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, made the same changes as mentioned in the other PRs. Thank you, Derrick!

@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from f265a90 to 15c0760 Compare September 11, 2026 12:20
@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from 15c0760 to f6495b9 Compare September 11, 2026 12:35
@pwizla
pwizla added this pull request to stack #3476 September 11, 2026 12:35
Base automatically changed from repo/add-haproxy-proxy-guide to main September 11, 2026 12:43
derrickmehaffy and others added 6 commits September 11, 2026 14:44
Traefik configures routing from container labels rather than a config file,
so it gets its own guide alongside the other proxies. Covers the Strapi side
(server.url, server.proxy, upload body limits) and the Traefik side, including
automatic certificates, the certificate storage volume, forwardedHeaders
trustedIPs when a CDN sits upstream, and the Docker socket exposure.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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 container host requirement, the trustedIPs guidance and
the sentences that describe how Traefik itself behaves.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@pwizla
pwizla force-pushed the repo/add-traefik-proxy-guide branch from f6495b9 to 07c4a4f Compare September 11, 2026 12:44
@pwizla
pwizla merged commit aa57b78 into main Sep 11, 2026
4 of 5 checks passed
@pwizla
pwizla deleted the repo/add-traefik-proxy-guide branch September 11, 2026 12:45
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