diff --git a/README.md b/README.md index ae5606f..291f53a 100644 --- a/README.md +++ b/README.md @@ -32,3 +32,24 @@ 2. Or Paste the contents of remote-backrest.yml into an existing remote host yml file. + +## Remote Host yml files must use this format: + +```yaml +http: + routers: + # Each service gets a route definition here + + services: + # Each service gets a service definition here +``` + +**To copy an example remote host yml file into an existing remote host yml file** + +1. Copy the contents of the routers section into the existing routers section +Be sure to change the `rule: "Host ('service.server.subdomain.duckdns.org')"` line to your desired url for the service + +2. And Copy the content of the services section into the existing services section +Be sure to change the ip:port in `- url: "http://ip:port"` +Use http here, not https +