nginx conversion with supervisord scripts