From 2f099ea50f191ef782d1ebb041794757477b000e Mon Sep 17 00:00:00 2001 From: Ab Date: Thu, 10 Sep 2020 11:09:20 +0800 Subject: [PATCH 1/2] Update auto-tls.md --- website/content/cookbook/auto-tls.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/cookbook/auto-tls.md b/website/content/cookbook/auto-tls.md index 5e8a558..0c4dfae 100644 --- a/website/content/cookbook/auto-tls.md +++ b/website/content/cookbook/auto-tls.md @@ -13,7 +13,7 @@ HTML page. - Have a domain that resolves to an IP address via `A` or `CNAME` DNS record - [Install Armor]({{< ref "guide.md#installation">}}) -- Copy config `config.json` to `/etc/armor` +- Copy config `config.yaml` to `/etc/armor` - Copy `index.html` to `/var/www/test` - Start Armor `armor -c /etc/armor/config.json` - Browse to `http://test.lab.st`, and in a few seconds TLS certificate will be installed automatically. @@ -24,7 +24,7 @@ HTML page. ## Source -`config.json` +`config.yaml` ```yaml --- From a3440fb5a0b7c413461760e67cc1ce9bde9a0bf2 Mon Sep 17 00:00:00 2001 From: Ab Date: Thu, 10 Sep 2020 11:10:36 +0800 Subject: [PATCH 2/2] Update auto-tls.md --- website/content/cookbook/auto-tls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/cookbook/auto-tls.md b/website/content/cookbook/auto-tls.md index 0c4dfae..63d6fad 100644 --- a/website/content/cookbook/auto-tls.md +++ b/website/content/cookbook/auto-tls.md @@ -15,7 +15,7 @@ HTML page. - [Install Armor]({{< ref "guide.md#installation">}}) - Copy config `config.yaml` to `/etc/armor` - Copy `index.html` to `/var/www/test` -- Start Armor `armor -c /etc/armor/config.json` +- Start Armor `armor -c /etc/armor/config.yaml` - Browse to `http://test.lab.st`, and in a few seconds TLS certificate will be installed automatically. ## Maintainers