:cow: A redirector with automatic certs and redirect wildcards and specific routes
Outlaw is a redirector that uses autocert to generate SSL certificates automatically and redirect wildcards and specific routes.
Features
Databases
Outlaw includes a gRPC client to control the server.
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 run andersnormal/outlaw:1.0.0-beta.0 --mongo --mongo-endpoint mongo --mongo-username root --mongo-password example --mongo-auth-database admin --verbose
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
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
.
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