From a21bd6a6710d123ef3bfc3c9aab37fc0c276f9c5 Mon Sep 17 00:00:00 2001 From: ertopogo Date: Thu, 19 Feb 2026 11:34:16 +0100 Subject: feat: initial project setup - Next.js 16, Payload CMS v3, palette Mapuche Next.js 16 App Router + TypeScript + Tailwind CSS v4. Payload CMS v3 with PostgreSQL adapter. Mapuche Corporate palette. Public pages, Docker Compose + Caddy, security middleware. Co-authored-by: Cursor --- Caddyfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Caddyfile (limited to 'Caddyfile') diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..5962313 --- /dev/null +++ b/Caddyfile @@ -0,0 +1,24 @@ +# Remplacer par votre domaine réel +# En dev local, utiliser: localhost:443 + +your-domain.com { + reverse_proxy app:3000 + + header { + Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" + X-Content-Type-Options "nosniff" + X-Frame-Options "DENY" + Referrer-Policy "strict-origin-when-cross-origin" + Permissions-Policy "camera=(), microphone=(), geolocation=()" + -Server + } + + encode gzip zstd + + log { + output file /var/log/caddy/access.log { + roll_size 10mb + roll_keep 5 + } + } +} -- cgit v1.2.3