summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-04-11 17:06:21 -0400
committerFlorin Coras <florin.coras@gmail.com>2019-04-16 19:57:44 +0000
commit22bc2c46e316dd7d5ca4680f85337fe72896ca57 (patch)
tree86e7e546c8d738422ef882db75c5861a8bccd534 /extras
parent28aa539f7da7b172d0f35ea9a63f3986939477f7 (diff)
Static http server
Good enough to serve the vpp sphinx and doxygen docs. Knows about html, css, and javascript files. Change-Id: Ib18c19f07f35f91ba935ea26ed7be406dacf2205 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'extras')
-rw-r--r--extras/static_http/setup.http6
1 files changed, 6 insertions, 0 deletions
diff --git a/extras/static_http/setup.http b/extras/static_http/setup.http
new file mode 100644
index 00000000000..9b99f60201b
--- /dev/null
+++ b/extras/static_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 /tmp/www uri tcp://0.0.0.0/80 cache-size 1m