From 78cc42d608bdb1ba17b6d8fbe5486064a47b0b78 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Tue, 6 Aug 2019 17:38:13 -0400 Subject: http_static: tls support Type: refactor Ticket: VPP-1736 Signed-off-by: Dave Barach Change-Id: I45745e568cd943293d0015a61f67ec799b6804d8 (cherry picked from commit 6b53fd5163de7d1f452b472ec3ad945f4dbd694c) --- extras/http/setup.http | 6 ++++++ extras/http/startup.cfg | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 extras/http/setup.http create mode 100644 extras/http/startup.cfg (limited to 'extras/http') diff --git a/extras/http/setup.http b/extras/http/setup.http new file mode 100644 index 00000000000..3b8da575a98 --- /dev/null +++ b/extras/http/setup.http @@ -0,0 +1,6 @@ +set term pag off +create tap host-if-name lstack host-ip4-addr 192.168.10.2/24 +set int ip address tap0 192.168.10.1/24 +set int state tap0 up + +http static server www-root /scratch/fdio-site-fork/public uri tls://0.0.0.0/1234 cache-size 10m fifo-size 2048 diff --git a/extras/http/startup.cfg b/extras/http/startup.cfg new file mode 100644 index 00000000000..a7b9dc389d9 --- /dev/null +++ b/extras/http/startup.cfg @@ -0,0 +1,7 @@ +unix { + interactive +} + +tls { + use-test-cert-in-ca +} -- cgit 1.2.3-korg