From fae064262d9c40393d634660b94d36ce6703aa1c Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Tue, 19 May 2020 18:59:51 -0400 Subject: httpcaddyfile: Add `auto_https` global option (#3284) --- .../integration/caddyfile_adapt/auto_https_off.txt | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 caddytest/integration/caddyfile_adapt/auto_https_off.txt (limited to 'caddytest/integration/caddyfile_adapt/auto_https_off.txt') diff --git a/caddytest/integration/caddyfile_adapt/auto_https_off.txt b/caddytest/integration/caddyfile_adapt/auto_https_off.txt new file mode 100644 index 0000000..d4014d2 --- /dev/null +++ b/caddytest/integration/caddyfile_adapt/auto_https_off.txt @@ -0,0 +1,37 @@ +{ + auto_https off +} + +localhost +---------- +{ + "apps": { + "http": { + "servers": { + "srv0": { + "listen": [ + ":443" + ], + "routes": [ + { + "match": [ + { + "host": [ + "localhost" + ] + } + ], + "terminal": true + } + ], + "tls_connection_policies": [ + {} + ], + "automatic_https": { + "disable": true + } + } + } + } + } +} \ No newline at end of file -- cgit v1.2.3