Discourseとjwilder / nginx proxy&acme-companionの連携

Please have a look on how to debug a discourse install with several proxy servers involved:
How to debug a sub-folder Discourse install