before to do nginx