Serve Discourse da una sottocartella, il login reindirizza alla homepage

version:v3.5.1
my website: https://www.example.com/forum
local login(homepage) will redirect to https://www.example.com

Logging in from a non-homepage does not have this issue.

log

Processing by StaticController#enter as HTML Parameters: {"username"=>"****", "password"=>"[FILTERED]", "redirect"=>"https://www.example.com/forum/login"} Redirected to https://www.example.com/

Thanks for the report, we will look into it soonish.