improvements in nginx config