Discourse working with 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