يبدو أن الخطأ الحقيقي هو لا يمكن التحقق من صحة رمز 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)