Logo Hatchbox.io
Docs Help
All Collections › SSL, Load Balancers & Caddy › Custom Headers

Custom Headers

Learn how to add or modify headers with Caddy

Updated August 10, 2026 12:00am

In your App's settings, you can customize the Caddy routes with the header directive.

For example, adding a header to responses:

header Custom-Header "My Value"

%{default}
‹ Previous Limiting file upload sizes Next › Custom Redirects

Ask AI about this page

  • View Markdown
  • Open in ChatGPT External link
  • Open in Claude External link
  • Open in Cursor External link
Mark Created with Sketch.
© 2026 GoRails, LLC
  • Docs
  • Help
  • News
  • About
  • Privacy
  • Terms