move per-app configuration to individual config files

- create config files for mysql, redis, nginx
- add use of these config files to zagent.sh script