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