Hey Jason! Thanks for the props!
I’ve been working on some better configuration examples for nginx. My goal in that wiki page was to set up an nginx proxy to an apache back-end so a varnish cache could be easily utilized. In addition, as you stated, SSL runs only on nginx and apache can be on a single port. Mainly, I wanted to provide a method to incorporate nginx into a default DSP installation.
You can ABSOLUTELY run without apache. It works fine and is faster. That said, I’ve created sample configurations for this scenario and they are currently in the
develop branch of the
As for combining the configs into a single server, I am not sure. My nginx kung fu is weak in that area. But if you get it to work, please let me know. As it stands now, there is a single config file with two servers defined, http and https. This is in the config examples in the repo.
We will be pushing a new 1.7 update this week (hopefully) to address this and a few other minor issues found since release. I’ll update the wiki to better explain the purpose, and create a second page for a stand-alone nginx config. Cool?