From ef7f15f3a42474319e2db0dff6720d91c153f0bf Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Sun, 2 May 2021 14:11:27 -0400 Subject: httpcaddyfile: Add `auto_https ignore_loaded_certs` (#4077) --- .../auto_https_ignore_loaded_certs.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 caddytest/integration/caddyfile_adapt/auto_https_ignore_loaded_certs.txt (limited to 'caddytest') diff --git a/caddytest/integration/caddyfile_adapt/auto_https_ignore_loaded_certs.txt b/caddytest/integration/caddyfile_adapt/auto_https_ignore_loaded_certs.txt new file mode 100644 index 0000000..1c65438 --- /dev/null +++ b/caddytest/integration/caddyfile_adapt/auto_https_ignore_loaded_certs.txt @@ -0,0 +1,34 @@ +{ + auto_https ignore_loaded_certs +} + +localhost +---------- +{ + "apps": { + "http": { + "servers": { + "srv0": { + "listen": [ + ":443" + ], + "routes": [ + { + "match": [ + { + "host": [ + "localhost" + ] + } + ], + "terminal": true + } + ], + "automatic_https": { + "ignore_loaded_certificates": true + } + } + } + } + } +} \ No newline at end of file -- cgit v1.2.3