more nginx fixes

Signed-off-by: Kyle Rockman <kyle.rockman@mac.com>