added auto nginx file detection. for color