From 22bc2c46e316dd7d5ca4680f85337fe72896ca57 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Thu, 11 Apr 2019 17:06:21 -0400 Subject: 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 --- extras/static_http/setup.http | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 extras/static_http/setup.http (limited to 'extras') 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 -- cgit 1.2.3-korg