diff options
Diffstat (limited to 'caddytest/integration/caddyfile_adapt/tls_internal_options.txt')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/tls_internal_options.txt | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/caddytest/integration/caddyfile_adapt/tls_internal_options.txt b/caddytest/integration/caddyfile_adapt/tls_internal_options.txt index 7298a37..50bbfec 100644 --- a/caddytest/integration/caddyfile_adapt/tls_internal_options.txt +++ b/caddytest/integration/caddyfile_adapt/tls_internal_options.txt @@ -1,54 +1,54 @@ -a.example.com {
- tls {
- issuer internal {
- ca foo
- lifetime 24h
- sign_with_root
- }
- }
-}
-----------
-{
- "apps": {
- "http": {
- "servers": {
- "srv0": {
- "listen": [
- ":443"
- ],
- "routes": [
- {
- "match": [
- {
- "host": [
- "a.example.com"
- ]
- }
- ],
- "terminal": true
- }
- ]
- }
- }
- },
- "tls": {
- "automation": {
- "policies": [
- {
- "subjects": [
- "a.example.com"
- ],
- "issuers": [
- {
- "ca": "foo",
- "lifetime": 86400000000000,
- "module": "internal",
- "sign_with_root": true
- }
- ]
- }
- ]
- }
- }
- }
+a.example.com { + tls { + issuer internal { + ca foo + lifetime 24h + sign_with_root + } + } +} +---------- +{ + "apps": { + "http": { + "servers": { + "srv0": { + "listen": [ + ":443" + ], + "routes": [ + { + "match": [ + { + "host": [ + "a.example.com" + ] + } + ], + "terminal": true + } + ] + } + } + }, + "tls": { + "automation": { + "policies": [ + { + "subjects": [ + "a.example.com" + ], + "issuers": [ + { + "ca": "foo", + "lifetime": 86400000000000, + "module": "internal", + "sign_with_root": true + } + ] + } + ] + } + } + } }
\ No newline at end of file |