Skip to content

Add a guide for proxying Strapi with Traefik - #3464

Open
derrickmehaffy wants to merge 4 commits into
repo/add-haproxy-proxy-guidefrom
repo/add-traefik-proxy-guide
Open

Add a guide for proxying Strapi with Traefik#3464
derrickmehaffy wants to merge 4 commits into
repo/add-haproxy-proxy-guidefrom
repo/add-traefik-proxy-guide

Conversation

@derrickmehaffy

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.

@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 10:24am UTC

Request Review

@derrickmehaffy
derrickmehaffy force-pushed the repo/add-haproxy-proxy-guide branch from 8131677 to 329b256 Compare September 10, 2026 17:46
@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-haproxy-proxy-guide branch from 329b256 to 3c9fd28 Compare September 11, 2026 08:38
@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-haproxy-proxy-guide branch from 3c9fd28 to d65e2f7 Compare September 11, 2026 09:10
@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-haproxy-proxy-guide branch from d65e2f7 to eb28b26 Compare September 11, 2026 09:17
@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-haproxy-proxy-guide branch from eb28b26 to c1ed742 Compare September 11, 2026 09:33
@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-haproxy-proxy-guide branch from c1ed742 to 395c7ee Compare September 11, 2026 10:22
derrickmehaffy and others added 4 commits September 11, 2026 12:22
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>
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