From d2bc8e4e07fc9be0e27c106ddd57a1c905e812ff Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Sat, 12 Oct 2019 11:16:22 -0300 Subject: [PATCH] main route over tls --- Dockerfile-unit.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile-unit.template b/Dockerfile-unit.template index 1d885f7..1381fbd 100644 --- a/Dockerfile-unit.template +++ b/Dockerfile-unit.template @@ -111,6 +111,7 @@ RUN \ "*:9001": { "pass": "routes/dynamic" }, \ "*:9002": { "pass": "routes/static" }, \ "*:9003": { "pass": "routes/direct" }, \ + "*:9010": { "pass": "routes/main", "tls": { "certificate": "default" } }, \ "*:9011": { "pass": "routes/dynamic", "tls": { "certificate": "default" } }, \ "*:9012": { "pass": "routes/static", "tls": { "certificate": "default" } }, \ "*:9013": { "pass": "routes/direct", "tls": { "certificate": "default" } } \ @@ -192,7 +193,7 @@ RUN \ rm /var/www/html/index.php /var/www/html/index.php.remove; \ } -EXPOSE 9000 9001 9002 9003 9011 9012 9013 +EXPOSE 9000 9001 9002 9003 9010 9011 9012 9013 ENTRYPOINT ["/entrypoint.sh"] STOPSIGNAL SIGTERM CMD ["unitd", "--no-daemon", "--control", "unix:/var/run/control.unit.sock"]