Problem with discourse in a subfolder

I’m following this guide to setup proxy through fastly.