I think there may be something wrong with the following section.
# Every other entry point will be disallowed. 68 # Add specific rules for other entry points/images as needed above this 69 location / { 70 return 404; 71 }
nginx won't start with this line, but starts if it's removed.