replace to nginx config