DUNGEONS-34: simplify HTTPS with an existing remote proxy #4

Merged
Perfect_Python500 merged 1 commits from codex/dungeons-34-proxy-homepage into main 2026-09-06 12:45:03 +00:00

Webka can now run behind an existing HTTPS proxy on another computer with npm run dev:all -- --homepage https://camera.example.com --port 3002. Homepage mode binds to 0.0.0.0 by default, disables mDNS, and configures the public origin, Secure cookies, and QR/share URL while serving HTTP to the proxy. Explicit host options remain supported.

Add optional webka.config.json persistence with CLI overrides and document Nginx Proxy Manager upstream, WebSocket, and certificate settings. Existing local/LAN startup defaults stay compatible.

Validation on Node 22.23.2 / npm 10.9.8:

  • Eight launcher unit tests passed, including config parsing and stale environment overrides.
  • Local/LAN integration passed: login, startup/restart, port conflicts, and Ctrl+C cleanup.
  • Local HTTPS reverse-proxy integration passed: frontend, login, Secure cookie, homepage share URL, origin rejection, WSS handshake/welcome, and shutdown. This uses a test proxy, not the user's NPM instance.
  • JavaScript syntax and diff whitespace checks passed.

Closes DUNGEONS-34.

Webka can now run behind an existing HTTPS proxy on another computer with `npm run dev:all -- --homepage https://camera.example.com --port 3002`. Homepage mode binds to `0.0.0.0` by default, disables mDNS, and configures the public origin, Secure cookies, and QR/share URL while serving HTTP to the proxy. Explicit host options remain supported. Add optional `webka.config.json` persistence with CLI overrides and document Nginx Proxy Manager upstream, WebSocket, and certificate settings. Existing local/LAN startup defaults stay compatible. Validation on Node 22.23.2 / npm 10.9.8: - Eight launcher unit tests passed, including config parsing and stale environment overrides. - Local/LAN integration passed: login, startup/restart, port conflicts, and Ctrl+C cleanup. - Local HTTPS reverse-proxy integration passed: frontend, login, Secure cookie, homepage share URL, origin rejection, WSS handshake/welcome, and shutdown. This uses a test proxy, not the user's NPM instance. - JavaScript syntax and diff whitespace checks passed. Closes DUNGEONS-34.
Perfect_Python500 added 1 commit 2026-09-06 12:43:43 +00:00
Perfect_Python500 merged commit ae3a3c5def into main 2026-09-06 12:45:03 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Perfect_Python500/Webka#4