I think this is what you’re looking for:
@neounix has some experience with running Discourse w/ apache2 so they may be able to give some pointers.