diff --git a/dev2/edge/edge.json b/dev2/edge/edge.json index 22538a5..9d51243 100644 --- a/dev2/edge/edge.json +++ b/dev2/edge/edge.json @@ -12,7 +12,8 @@ ], "keep_on_nginx": { "//": "Names under a routed pattern that stay on nginx for now, with why.", - "live.streaming.pit.world": "per-path routing to two nixamp servers with a 404 fallback (error_page @server2); move after it has its own Caddy rehearsal" + "live.streaming.pit.world": "per-path routing to two nixamp servers with a 404 fallback (error_page @server2); move after it has its own Caddy rehearsal", + "otr.podcast.pit.world": "the new OTR Caddy site changes this legacy pit.world alias from 200 to 301; preserve the current nginx response until the alias is rehearsed" }, "sites": [ { "hosts": ["pit.world"], "proxy": 8787, "max_body": "1MiB" }, diff --git a/test/dev2-edge.test.ts b/test/dev2-edge.test.ts index 70ec3c1..f5821d1 100644 --- a/test/dev2-edge.test.ts +++ b/test/dev2-edge.test.ts @@ -135,6 +135,7 @@ describe('dev2-edge render', () => { expect(stream).toMatch(/\n\s+chovy\.hacker\s+127\.0\.0\.1:8453;/); // an exact name under a routed wildcard can stay on nginx expect(stream).toMatch(/\n\s+live\.streaming\.pit\.world\s+127\.0\.0\.1:8444;/); + expect(stream).toMatch(/\n\s+otr\.podcast\.pit\.world\s+127\.0\.0\.1:8444;/); expect(stream).toContain('hostnames;'); });