Correct bugs in supervisor and nginx files