move nginx.conf related code to starter