http_static: tls support

Type: refactor

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I45745e568cd943293d0015a61f67ec799b6804d8
This commit is contained in:
Dave Barach
2019-08-06 17:38:13 -04:00
parent 561be280fe
commit 6b53fd5163
4 changed files with 374 additions and 100 deletions

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
}