Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ const RedirectMap: Record<string, string> = {
"/wp-cfm": "/guides/wordpress-configurations/wp-cfm",
"/guides/agcdn/agcdn-wafio": "/guides/agcdn",
"/guides/agcdn/agcdn-features": "/guides/agcdn",
"/lockr": "/guides/secrets/overview",

// These are redirects that were not in AGCDN but discovered in the
// process of migrating the site to Next.js.
Expand Down Expand Up @@ -229,7 +230,7 @@ export function middleware(request: NextRequest) {
const siteMachineName = process.env.PANTHEON_SITE_MACHINE_NAME || "documentation-in-nextjs";
const incomingProtocol = request.headers.get('x-proto') || '';
const policyDocSurrogateKey = request.headers.get('policy-doc-surrogate-key') || '';
if (incomingProtocol === 'http://' && policyDocSurrogateKey) {
if (incomingProtocol === 'http' && policyDocSurrogateKey) {
url.protocol = "https:";
url.hostname = policyDocSurrogateKey;
url.port = "";
Expand Down
207 changes: 0 additions & 207 deletions src/source/content/lockr.md

This file was deleted.

Binary file removed src/source/images/lockr_wpconfig.png
Binary file not shown.
Loading