项目作者: andersnormal

项目描述 :
:cow: A redirector with automatic certs and redirect wildcards and specific routes
高级语言: Go
项目地址: git://github.com/andersnormal/outlaw.git
创建时间: 2018-11-15T16:51:21Z
项目社区:https://github.com/andersnormal/outlaw

开源协议:Apache License 2.0

下载


:cow: Outlaw

Outlaw is a redirector that uses autocert to generate SSL certificates automatically and redirect wildcards and specific routes.

Features

  • Redirect parked Domains to a URL
  • Redirect HTTP to HTTPS when you run behind a CDN (different origins)
  • Redirect multiple domains to a canonical domain
  • Create special redirects schemes (e.g. for iOS apps)

Databases

  • MongoDB
  • DynamoDB (coming soon)
  • more coming soon…

Client

Outlaw includes a gRPC client to control the server.

Setup

Outlaw needs to setup the various backends to work with it. In the case of MongoDB it needs to create the needed collections.

  1. # Example
  2. docker run andersnormal/outlaw:1.0.0-beta.0 bootstrap --mongo --mongo-username root --mongo-password example --mongo-auth-database admin --verbose

You can also use the --bootstrap option to do the bootstrap upon the start of Outlaw.

Docker

  1. docker run andersnormal/outlaw:1.0.0-beta.0 --mongo --mongo-endpoint mongo --mongo-username root --mongo-password example --mongo-auth-database admin --verbose

Help

Outlaw provides help for all commands and subcommands and its various options. It should be easy to configure Outlaw for your specific setup.

  1. # Example
  2. docker run andersnormal/outlaw:1.0.0-beta.0 --help

Staging

Before moving to production it is recommended to test in the Staging Environment of Let’s Encrypt. The URL for the Staging ACME V1 Environment can be set via --acme-url https://letsencrypt.org.

Development

Boulder is supported to test in a local development environment.

  1. ./bin/outlaw --dynamodb --http-port 5002 --https-port 5001 --acme-url http://localhost:4000/directory --verbose

License

Apache 2.0