Skip to content

Document how to redirect to https for a Next.js site #9791

@stevector

Description

@stevector

Since pantheon.yml settings currently don't work in Next.js sites, we will need to document how to do redirects to https another way. Over in stevector/office-artifacts#15 I'm trying a technique in middleware.ts that detects incoming request headers added by the CDN.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions