Added support for Nginx and fixed a file not found issue.

I added support for the web server Nginx and fixed an issue with file not found when using `cat` to find `command.json` file in the image directory.