http_static: tls support
Type: refactor Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I45745e568cd943293d0015a61f67ec799b6804d8
This commit is contained in:
6
extras/http/setup.http
Normal file
6
extras/http/setup.http
Normal 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
7
extras/http/startup.cfg
Normal file
@@ -0,0 +1,7 @@
|
||||
unix {
|
||||
interactive
|
||||
}
|
||||
|
||||
tls {
|
||||
use-test-cert-in-ca
|
||||
}
|
Reference in New Issue
Block a user