feat(config): PHX_SCHEME / PHX_URL_PORT for http-only LAN installs #18

Closed
opened 2026-11-01 16:49:01 +00:00 by jfro · 1 comment
Owner

runtime.exs hard-codes the URL as https:443, so http-only LAN installs get the wrong OIDC redirect_uri and links. Read the scheme and port from PHX_SCHEME / PHX_URL_PORT, defaulting to https/443.

Found in the pre-1.0 gap audit of main @ 69e09f0.

runtime.exs hard-codes the URL as https:443, so http-only LAN installs get the wrong OIDC redirect_uri and links. Read the scheme and port from PHX_SCHEME / PHX_URL_PORT, defaulting to https/443. Found in the pre-1.0 gap audit of main @ 69e09f0.
Author
Owner

Shipped in #30 (merged as 7e178dd, fix commit 9df63c9): prod reads PHX_SCHEME (default https) and PHX_URL_PORT (default 443, or PORT over http), documented in the README. Closing.

Shipped in #30 (merged as 7e178dd, fix commit 9df63c9): prod reads `PHX_SCHEME` (default https) and `PHX_URL_PORT` (default 443, or `PORT` over http), documented in the README. Closing.
jfro closed this issue 2026-11-01 18:53:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/lamplighter#18
No description provided.