restore template dir parameter for nginx configs

This parameter to have been lost.  We rely on it at Stanford so we can
use our own nginx templates.