Hello everyone,
I’m using the standard (official) Docker-based Discourse installation on my server at mydomain.com. I need to place a TXT file at https://mydomain.com/xx.txt so that it can be publicly accessible. This is required for verification to embed my Discourse site into a WeChat Mini Program via WebView. Specifically, WeChat Mini Program requires a TXT file at the domain’s root to confirm domain ownership.
• Question: Where is the “root directory” for my Discourse site when installed via the default Docker setup?
• Goal: To make https://mydomain.com/xx.txt accessible to the public.
• Context: I need xx.txt to be served directly from the domain root. My forum is up and running, and I haven’t made any custom configuration changes apart from the standard ./discourse-setup procedure.
I’d greatly appreciate any guidance on how to achieve this.
Thank you for your help! I’m looking forward to any tips or best practices from the community. ![]()