altonions

package module
v0.0.0-...-09b2d8a Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

README

Opportunistic Onions for caddy

Syntax

altonions *addr:port* ... {
    max-age *ma*
	persist *persist*
}
  • addr:port the onion service address
  • ma, integer, max-age value in seconds
  • persist, integer

Examples

perfectoid.space:8443 {
    tls perfectoid.pem perfectoid-key.pem
    altonions zkiefsz3zbkg4nnl5p7r64qxugfeb7g5agz2pqwci4w7hwzfgu2gobad.onion:8443 {
        ma 086400
        persist 1
    }
    root /var/www/html/
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Onions  []string
	MaxAge  uint32
	Persist bool
}

Jump to

Keyboard shortcuts

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