vicarian 0.2.0

Vicarian is a reverse proxy server with ACME support
{
    listen = {
        insecure_port = 8080
        tls_port = 8443
    }
    vhosts = [
        {
            hostname = "www.example.com"

            tls = {
                files = {
                    keyfile = "target/certs/www.example.com.key"
                    certfile = "target/certs/www.example.com.crt"
                }
            }

            backends = [
                {
                    context = "/"
                    url = "http://127.0.0.1:9090"
                }
            ]
        }
        {
            hostname = "test.example.com"

            tls = {
                files = {
                    keyfile = "target/certs/test.example.com.key"
                    certfile = "target/certs/test.example.com.crt"
                }
            }

            backends = [
                {
                    context = "/"
                    url = "http://127.0.0.1:9091"
                }
            ]
        }
    ]
}