Skip to content

server: Add Traefik support for host mode subdomains#4135

Merged
backspace merged 1 commit intomainfrom
traefik-publishing-cs-10284
Mar 6, 2026
Merged

server: Add Traefik support for host mode subdomains#4135
backspace merged 1 commit intomainfrom
traefik-publishing-cs-10284

Conversation

@backspace
Copy link
Contributor

@backspace backspace commented Mar 6, 2026

This is a quick follow-on to #4086, which didn’t allow the publishing to or visiting of host mode “Boxel Space” domains. With this Traefik will pass *.realm-server.environment-name.localhost requests to the environment realm server.

Currently publish requests fail like this:

[start:development          ] Error publishing realm: {
[start:development          ]   stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)\n' +
[start:development          ]     '    at JSON.parse (<anonymous>)\n' +
[start:development          ]     '    at parseJSONFromBytes (node:internal/deps/undici/undici:4259:19)\n' +
[start:development          ]     '    at successSteps (node:internal/deps/undici/undici:6882:27)\n' +
[start:development          ]     '    at readAllBytes (node:internal/deps/undici/undici:5807:13)\n' +
[start:development          ]     '    at processTicksAndRejections (node:internal/process/task_queues:103:5)',
[start:development          ]   message: 'Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)'
[start:development          ] }

Here it is working locally:

Boxel 2026-03-06 12-16-44 e8c0a21ef0e0f5101a0d9e590435203ca7bf96af 2026-03-06 12-17-06

@backspace backspace self-assigned this Mar 6, 2026
@backspace backspace added the bug Something isn't working label Mar 6, 2026
@backspace backspace marked this pull request as ready for review March 6, 2026 20:18
@backspace backspace requested a review from a team March 6, 2026 20:18
@backspace backspace merged commit 08380b9 into main Mar 6, 2026
95 of 99 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants