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 dev2/edge/edge.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
1 change: 1 addition & 0 deletions test/dev2-edge.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;');
});

Expand Down
Loading