This page is about Caddy 1 and will stay here forever.

User Guide


The awslambda plugin gateways requests to AWS Lambda functions.

Full documentation


Proxy /api/* requests to Lambda
awslambda /api/ { aws_region us-west-2 qualifier prod include api-* exclude *-internal }

Proxy requests starting with /api/ to AWS Lambda using the us-west-2 region, for functions staring with api- but not ending with -internal. A qualifier is used to target the prod aliases for each function. For example, requests to /api/api-user would each invoke the AWS Lambda function named "api-user".

Related Links

Access the full documentation for this plugin off-site:

Plugin Help

Get help from the maintainers of the http.awslambda plugin:

Plugin Website

Visit http.awslambda's website for more information:

Plugin Author: James Cooper
Last Updated: 11 Apr 2017, 6:11 AM
This plugin is independent of the Caddy project and is not endorsed or maintained by Caddy developers. Use at your own risk. Do not file issues for this plugin on Caddy's bug tracker.