aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddytest
diff options
context:
space:
mode:
authorFrancis Lavoie <[email protected]>2021-05-02 14:11:27 -0400
committerGitHub <[email protected]>2021-05-02 12:11:27 -0600
commitef7f15f3a42474319e2db0dff6720d91c153f0bf (patch)
tree7d9bc3b6edd6f3954d120d088b2bd9ccd5b48f0d /caddytest
parent6e0e3e1537c399faabd30cc08a9fe68a7be87639 (diff)
downloadcaddy-ef7f15f3a42474319e2db0dff6720d91c153f0bf.tar.gz
caddy-ef7f15f3a42474319e2db0dff6720d91c153f0bf.zip
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 000000000..1c6543851
--- /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