summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2021-05-02 14:11:27 -0400
committerGitHub <noreply@github.com>2021-05-02 12:11:27 -0600
commitef7f15f3a42474319e2db0dff6720d91c153f0bf (patch)
tree7d9bc3b6edd6f3954d120d088b2bd9ccd5b48f0d /caddytest
parent6e0e3e1537c399faabd30cc08a9fe68a7be87639 (diff)
httpcaddyfile: Add `auto_https ignore_loaded_certs` (#4077)
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/integration/caddyfile_adapt/auto_https_ignore_loaded_certs.txt34
1 files changed, 34 insertions, 0 deletions
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