Modify td-agent and nginx configs