Skip to content

A simple webserver with HTTPS support written in go

Notifications You must be signed in to change notification settings

arno4000/go-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-webserver

A simple webserver with HTTPS support written in go

To compile the binary, run go build ..

Configuration

The configuration is done with the config.yaml file, which must be in the same location as the binary. Example config file:

  - file: "index.html"
    ipaddress: "0.0.0.0"
    port: 8080
    tls: true
    cert: "localhost.pem"
    key: "localhost-key.pem"
  - file: "index1.html"
    ipaddress: "127.0.0.1"
    port: 8081
    tls: false
    cert: ""
    key: ""

About

A simple webserver with HTTPS support written in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages