fixes nginx config