add maven setting and nginx conf.