From 4da20a6f7c3963b67ae730df2e73dad4cf4ad153 Mon Sep 17 00:00:00 2001 From: Hugo Romano Date: Wed, 4 Nov 2020 15:55:30 +0000 Subject: [PATCH] argo shell style --- products/argo-tunnel/src/content/configuration/arguments.md | 2 +- products/argo-tunnel/src/content/getting-started/setup.md | 4 +++- products/argo-tunnel/src/content/routing-to-tunnel/dns.md | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/products/argo-tunnel/src/content/configuration/arguments.md b/products/argo-tunnel/src/content/configuration/arguments.md index a421f8295c754d7..576e52b220d669c 100644 --- a/products/argo-tunnel/src/content/configuration/arguments.md +++ b/products/argo-tunnel/src/content/configuration/arguments.md @@ -9,7 +9,7 @@ order: 1 All tunnel-related commands are prefixed with `tunnel`. For example: ```sh -$ cloudflared tunnel --url localhost:5555 --hostname x.example.com` +$ cloudflared tunnel --url localhost:5555 --hostname x.example.com ``` - [Tunnel commands](#tunnel-commands) diff --git a/products/argo-tunnel/src/content/getting-started/setup.md b/products/argo-tunnel/src/content/getting-started/setup.md index 8cd3cb190b57d7e..31f9260d99686bb 100644 --- a/products/argo-tunnel/src/content/getting-started/setup.md +++ b/products/argo-tunnel/src/content/getting-started/setup.md @@ -16,7 +16,9 @@ Follow these steps to set up Cloudflare Argo Tunnel: 1. Authenticate your instance `cloudflared` by logging in to your Cloudflare account with the following command: - `cloudflared tunnel login` +```sh +$ cloudflared tunnel login +``` 2. The command will attempt to open a browser and prompt you to authenticate with your Cloudflare account. diff --git a/products/argo-tunnel/src/content/routing-to-tunnel/dns.md b/products/argo-tunnel/src/content/routing-to-tunnel/dns.md index 6777588ec89cdd7..061bfe3caf2804b 100644 --- a/products/argo-tunnel/src/content/routing-to-tunnel/dns.md +++ b/products/argo-tunnel/src/content/routing-to-tunnel/dns.md @@ -37,7 +37,9 @@ You can create DNS records from `cloudflared`, which will provision a CNAME reco To do so, run the following command. -`cloudflared tunnel route dns www.app.com` +```sh +$ cloudflared tunnel route dns www.app.com +``` The command will create a CNAME record that points to the Tunnel subdomain, but will not proxy traffic if the Tunnel is not currently running.