summaryrefslogtreecommitdiffstats
path: root/extras/http/setup.http
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-08-06 17:38:13 -0400
committerDave Barach <dave@barachs.net>2019-08-10 11:30:39 -0400
commit6b53fd5163de7d1f452b472ec3ad945f4dbd694c (patch)
tree4eb1b87a4c872e63562305e05769bb4dc697b93c /extras/http/setup.http
parent561be280feb6a10834bf50e0813cc0ad3c635067 (diff)
http_static: tls support
Type: refactor Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I45745e568cd943293d0015a61f67ec799b6804d8
Diffstat (limited to 'extras/http/setup.http')
-rw-r--r--extras/http/setup.http6
1 files changed, 6 insertions, 0 deletions
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