diff options
author | Yannick Ihmels <yannick@ihmels.org> | 2023-01-09 21:18:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-09 15:18:12 -0500 |
commit | 66ce0c5c635c4ff254ccb92123711534b6461b35 (patch) | |
tree | 372cbcef2306d6f90603b3967df1961feb169487 /caddytest/integration/caddyfile_adapt/tls_propagation_options.txt | |
parent | 845bc4d50b437995d574819850206e4b3db4040d (diff) |
caddytls: Add test cases for Caddyfile `tls` options (#5293)
Diffstat (limited to 'caddytest/integration/caddyfile_adapt/tls_propagation_options.txt')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/tls_propagation_options.txt | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/tls_propagation_options.txt b/caddytest/integration/caddyfile_adapt/tls_propagation_options.txt new file mode 100644 index 0000000..ee4666b --- /dev/null +++ b/caddytest/integration/caddyfile_adapt/tls_propagation_options.txt @@ -0,0 +1,79 @@ +localhost + +respond "hello from localhost" +tls { + propagation_delay 5m10s + propagation_timeout 10m20s +} +---------- +{ + "apps": { + "http": { + "servers": { + "srv0": { + "listen": [ + ":443" + ], + "routes": [ + { + "match": [ + { + "host": [ + "localhost" + ] + } + ], + "handle": [ + { + "handler": "subroute", + "routes": [ + { + "handle": [ + { + "body": "hello from localhost", + "handler": "static_response" + } + ] + } + ] + } + ], + "terminal": true + } + ] + } + } + }, + "tls": { + "automation": { + "policies": [ + { + "subjects": [ + "localhost" + ], + "issuers": [ + { + "challenges": { + "dns": { + "propagation_delay": 310000000000, + "propagation_timeout": 620000000000 + } + }, + "module": "acme" + }, + { + "challenges": { + "dns": { + "propagation_delay": 310000000000, + "propagation_timeout": 620000000000 + } + }, + "module": "zerossl" + } + ] + } + ] + } + } + } +}
\ No newline at end of file |