content icon indicating copy to clipboard operation
content copied to clipboard

Allow custom headers for self-hosted deployments in Nuxt Studio

Open uFloppyDisk opened this issue 7 months ago • 0 comments

Is your feature request related to a problem? Please describe

N/A

Describe the solution you'd like

Add an option for setting custom headers to be sent to the origin server by the preview feature for self-hosted deployments. Custom headers will allow users to preview changes on self-hosted deployments protected by authentication such as Cloudflare Zero Trust Access for staging and development deployments.

Example headers required by a Zero Trust Access service token: CF-Access-Client-Id: <id>.access CF-Access-Client-Secret: <secret>

Describe alternatives you've considered

N/A

Additional context

A great place for the custom headers option is in a separate card beneath or directly beneath the "Deployed URL" input box within the same card.

Image

uFloppyDisk avatar May 23 '25 00:05 uFloppyDisk