Mirror forum on Tor

I’m trying to mirror my forum on the dark web as a .onion site. To set up the config in Tor, I need to run my site on another port that doesn’t redirect to https along with site still running on the clearnet on 80 and 443. Where could I find the Nginx config files to do this?

Edit: I see there is an onion config file under /var/discourse/templates, how could I use this?

You include it like the others that are at the top of the app.yml file.

1 Like

Sorry, this might be a stupid question, but where can I find the app.yml file?

To edit the app.yml file, enter your server and type these commands:

cd /var/discourse
nano containers/app.yml
2 Likes