/http-proxy-lambda

A HTTP Proxy on AWS Lamda

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

HTTP-Proxy-Lambda

This is a Serverless, CORS-enabled, HTTP Proxy using Haskell and AWS Lambda to achieve a type-safe 🔥, low-cost 💲, and highly-maintainable 💻 experience.

screenshot

This has been deployed to AWS Lamda, which you can use in the following way to proxy, for example, https://bbc.co.uk:

https://ios10m3q6k.execute-api.us-east-1.amazonaws.com/dev/endpoint/bbc.co.uk

This Lambda has been deleted

You can pass any domain you would like to be proxied after endpoint

https://ios10m3q6k.execute-api.us-east-1.amazonaws.com/dev/endpoint/{DOMAIN}

Your request will be proxied through AWS us-east-1 servers.

Development

Dependencies

  • docker
  • stack
  • serverless

Build Locally

stack build --fast

Deploy

Deployment is handled by the serverless framework.

sls deploy