Nginx Proxy Pitfalls

Use when an nginx configuration or a container reverse proxy (caddy-docker-proxy) is written or reviewed: the version banner, security headers (and whether error responses carry them), HSTS lock-in and preload, X-Frame-Options versus CSP frame-ancestors, denying dotfiles and backup, config, log and sql files, Cache-Control public versus private and shared caches, gzip settings, worker and keepalive limits, TLS policy and session tickets, and for label-driven proxies which Docker networks are served, the ingress network detection, quoting upstreams, directive order and the certificate volume.

techmefr Updated

File contents

techmefr/mentis commit 752eeb992e

Frequently asked questions

npx get-skill add techmefr/nginx-proxy-pitfalls