public static void writeConfig(final ProxyConfig proxyConfig, final Path path) throws IOException {
        Config config = new Config();
        config.setProxyConfig(proxyConfig);
        writeConfig(config, path);
    }
Reads a yaml file that matches the structure of a complete DropWizard {@link Config} object tree.

@throws IOException
stroom-proxy/stroom-proxy-app/src/main/java/stroom/proxy/app/ProxyYamlUtil.java