From what I can tell, it takes some effort to run Apache and Discourse together. A quick search will bring up several topics that ask similar questions. I’d suggest using the search on this site and read through all of the topics relating to using Apache and Discourse. Here are a couple results with some good information to get you started: