Skip to content
This repository was archived by the owner on Aug 7, 2022. It is now read-only.

andersnormal/outlaw

Repository files navigation

🐮 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.

# Example
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

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.

# Example
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.

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

License

Apache 2.0

About

🐮 A redirector with automatic certs and redirect wildcards and specific routes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages