Rewrite nginx.conf based on running containers