|
|
|
|
|
by xaduha
1868 days ago
|
|
Many examples here in the comments and in the gist itself don't follow it to the letter either, it's easy enough to serve one file. This one might work https://github.com/avleen/bashttpd > socat TCP4-LISTEN:8080 EXEC:/usr/local/bin/bashttpd |
|
Curious about what you said, I looked through the gist again and every one of the examples in the gist itself does indeed serve all the files under a path (a "static file server"). Which one are you implying does not?