Migrate to RunxBuild and earn up to $50 in hosting credit on your first deposit.

Calculate your savings
unxBuild
static 07 / 26

Custom Headers

You can define custom HTTP response headers for your static site directly from the Static Page Settings in the RunxBuild dashboard. This is useful for configuring security policies, caching behavior, or custom application headers.

Common use cases include setting Cache-Control, Content-Security-Policy, or X-Frame-Options.

Example: Custom Headers Configuration

{
  "Type": "None",
  "Path": "/*",
  "Header Name": "X-Frame-Options",
  "Value": "DENY"
}

Common Headers

HeaderPurpose
Cache-ControlControl caching behavior
Content-Security-PolicyPrevent XSS attacks
X-Frame-OptionsPrevent clickjacking
X-Content-Type-OptionsPrevent MIME sniffing
Referrer-PolicyControl referrer information