From 3eda2c7d681e4ff63a574a2d97495d01c3ff8b8a Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Fri, 11 Oct 2019 23:15:04 -0300 Subject: [PATCH] fix json config --- Dockerfile-unit.template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile-unit.template b/Dockerfile-unit.template index b8090dd..f0ef0d0 100644 --- a/Dockerfile-unit.template +++ b/Dockerfile-unit.template @@ -102,10 +102,12 @@ RUN \ && unitd --control unix:/var/run/control.unit.sock \ && curl -X PUT --data-binary \ '{ \ - "listeners": { "*:9000": { "pass": "routes/main" } }, \ - "listeners": { "*:9001": { "pass": "routes/dynamic" } }, \ - "listeners": { "*:9002": { "pass": "routes/static" } }, \ - "listeners": { "*:9003": { "pass": "routes/direct" } }, \ + "listeners": { \ + "*:9000": { "pass": "routes/main" }, \ + "*:9001": { "pass": "routes/dynamic" }, \ + "*:9002": { "pass": "routes/static" }, \ + "*:9003": { "pass": "routes/direct" } \ + }, \ "routes": { \ "main": [ \ { "match": { "uri": "/console.php" }, "action": { "pass": "applications/direct_php" } }, \