faila2
faila, but simpler. Throw this binary in a folder and it'll be hosted
Flags
$ ./faila2 -h
Usage of faila2:
-dir string
path to host (default "./")
-ip string
ip to listen on (default "0.0.0.0")
-p string
port to listen on (default "8087")
Redirects
If you want to redirect to another page, create an index.html
in the folder that should redirect with the following content:
<meta http-equiv="refresh" content="N; URL=/testb">
replacing /testb
with the place where you'd like to be redirected to