add stage to nginx config