Putting a discourse development server behind proxy seems to mess up some (but not most) URLs

The link I circled in this screenshot is also using localhost:3000 as the host. That link is supposed to link to the topic this post was split off from.