実際のエラーは CSRF トークンの真正性を検証できません のようです。解決策はこのスレッドにあります:Can't Login to Discourse - CSRF Token Authenticity
apache2.conf ファイルに以下の行を追加しました:
RequestHeader set X-Forwarded-Proto https
エラーログは以下の通りです:
Started POST "/session" for {my.ip} at 2021-08-07 11:45:54 +0000
Processing by SessionController#create as */*
Parameters: {"login"=>"{me}", "password"=>"[FILTERED]", "second_factor_method"=>"1", "timezone"=>"America/Denver"}
Can't verify CSRF token authenticity.
Rendered text template (Duration: 0.0ms | Allocations: 1)
Filter chain halted as :verify_authenticity_token rendered or redirected
Completed 403 Forbidden in 13ms (Views: 1.5ms | ActiveRecord: 0.0ms | Allocations: 898)