Implemented virtual host support. Now it's possible to assign web applications to virtual host, for example:
Implemented virtual host support. Now it's possible to assign web applications to virtual host, for example:

{
  ...

  services = {
    tomcat = {
      enable = true;
      virtualHosts = [
        { name = "test1.localhost";
          webapps = [ mypkgs.HelloApp ];
        }
        { name = "test2.localhost";
          webapps = [ mypkgs.ByeApp ];
        }
      ];
    };
  };
}



git-svn-id: 71c8032c709790ec749031c4215f8515ac00dc5a@16654 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb

bnordgren/nixos,bnordgren/nixos,bnordgren/nixos,bnordgren/nixos,bnordgren/nixos