How to run Discourse in Apache vhost, not Nginx

PSA: Everything you are proposing to do, while technically feasible is completely unsupported. We can’t reasonably support every possible combination people come up with to serve Discourse on the web. So the support here on this forums are restricted to installs following the discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub guide.

discourse/config/nginx.sample.conf at main · discourse/discourse · GitHub

It will, eventually, break in many ways. You will be on the hook on merging with upstream changes continually and handling your fork forever.