Skip to content
/ srv Public
forked from joshuarli/srv

minimalist http(s) server and file browser

License

Notifications You must be signed in to change notification settings

GitRowin/srv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

srv

minimalist http(s) server and file browser.

download

static executables for some platforms can be found here.

usage

Simply srv. Defaults are -p 8000 -b 127.0.0.1 -d .

usage: TLS

TLS and HTTP/2 are enabled if you pass -c certfile -k keyfile.

to make self-signed certs:

openssl req -nodes -new -x509 -keyout key.pem -out cert.pem -subj "/"

or better, locally trusted certs with mkcert:

mkcert -install
mkcert -key-file key.pem -cert-file cert.pem -ecdsa 127.0.0.1

About

minimalist http(s) server and file browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 80.2%
  • Makefile 10.8%
  • Lua 7.7%
  • Shell 1.3%