Extract nginx stuff into separate makefile