http_static: tls support

Type: refactor
Ticket: VPP-1736

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I45745e568cd943293d0015a61f67ec799b6804d8
(cherry picked from commit 6b53fd5163de7d1f452b472ec3ad945f4dbd694c)
This commit is contained in:
Dave Barach
2019-08-06 17:38:13 -04:00
committed by Florin Coras
parent af8075529f
commit 78cc42d608
4 changed files with 374 additions and 100 deletions

View File

@ -300,6 +300,11 @@ Y: src/plugins/flowprobe/FEATURE.yaml
M: Ole Troan <otroan@employees.org>
F: src/plugins/flowprobe/
Plugin - http_static
I: http_static
M: Dave Barach <dbarach@cisco.com>
F: src/plugins/http_static/
Plugin - Group Based Policy (GBP)
I: gbp
M: Neale Ranns <nranns@cisco.com>

6
extras/http/setup.http Normal file
View File

@ -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

7
extras/http/startup.cfg Normal file
View File

@ -0,0 +1,7 @@
unix {
interactive
}
tls {
use-test-cert-in-ca
}

File diff suppressed because it is too large Load Diff