example

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2016 License: MIT Imports: 6 Imported by: 0

README

Example

This is a very basic server which shows how to use acmewrapper

go build

will give you the executable

Running

The server will serve the directory you specify as its last argument:

./example -accept -host=:8443 mywebsite.com www.mywebsite.com ./www

The above will run a server at port 8443 (which 443 is assumed to forward to), with certs for example.com and www.example.com.

It will serve the www directory.

Note that when testing, you should use the -test flag to make sure you are not generating valid certificates (you might run into the limits accidentally)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL