Skip to content

konomae/go-http-static-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

go-http-static-server

$ go-http-static-server -h

Usage of go-http-static-server:
  -host string
    	host (default "127.0.0.1")
  -key string
    	private key path
  -path string
    	document root path (default ".")
  -port int
    	port number (default 8080)
  -pub string
    	public key path

Install

$ go get -u github.com/konomae/go-http-static-server

Generate a certificate

$ openssl req -new -newkey rsa:2048 -x509 -keyout server.key -out server.pem -days 365 -nodes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages