faila, but simpler. Throw this binary in a folder and it'll be hosted
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
emile 92819d371b
logging, correct file serving, comments
6 months ago
.gitignore Initial commit 6 months ago
Dockerfile super simple minimal setup 6 months ago
README.md super simple minimal setup 6 months ago
go.mod super simple minimal setup 6 months ago
go.sum super simple minimal setup 6 months ago
main.go logging, correct file serving, comments 6 months ago

README.md

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