fleshing out functions for each nginx block. really need to figure out the full compile script.