From b4bd0a3aa9faeb608bdbccbb651fff0f2f12b083 Mon Sep 17 00:00:00 2001 From: BestLibre Date: Tue, 6 Feb 2018 16:15:29 +0100 Subject: [PATCH] Too many level in cong.json for caddy. Only one user allowed. --- caddy_proxy/README.md | 5 +++-- caddy_proxy/config.json | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/caddy_proxy/README.md b/caddy_proxy/README.md index 06c3cf3..1ed47bb 100644 --- a/caddy_proxy/README.md +++ b/caddy_proxy/README.md @@ -32,6 +32,7 @@ Ip or url for the proxified server. If not set default to 172.17.0.1 (docker hos Email is the email address to use with which to generate a certificate with Let's Encrypt. -### raw_config (str) +### raw_config (list) -This string will be added to the caddy configuration file, after the domain proxified with the vhosts section. +#### line (str) +Each line will be added to the caddy configuration file, after the domain proxified with the vhosts section. diff --git a/caddy_proxy/config.json b/caddy_proxy/config.json index bfccc91..8959ec7 100644 --- a/caddy_proxy/config.json +++ b/caddy_proxy/config.json @@ -19,7 +19,8 @@ "remote": "str?", "port": "str", "directory": "str?", - "user_pwd": [{"user": "str", "pwd": "str"}] + "user": "str?", + "pwd": "str?" } ], "email": "email",