 #----------------------------------------#
bookfightclub.org {
# Set this path to your site's directory.
root * /usr/caddy
# Enable the static file server.
#
#	templates
file_server browse
                } 
# revrse proxy Casa on port 81
#
   casa.bookfightclub.com {
        encode gzip

    # Proxy to Casa on localhost:81 with self-signed TLS
        reverse_proxy https://localhost:81 {
                transport http {
                        tls_insecure_skip_verify
                }
        }
}

}
# revrse proxy Ckpt on port 9090
   ckpt.bookfightclub.org {
	encode gzip

	# Proxy to Cockpit on localhost:9090 with self-signed TLS
	reverse_proxy https://localhost:9090 {
		transport http {
			tls_insecure_skip_verify
		}
	}
}
