Note: This solution…
force_ssl: [rewrite_on: [:x_forwarded_proto], host: nil]
… also fixes the LiveView infinite refresh problem described in Phoenix LiveView constantly refreshes with custom domain - #10 by stibbs . However this solution solves the endpoint issue in that link as well.
Also note: I noticed this URL redirect problem in Chrome but not Edge!