Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maslick/redirector
Blazing fast 301/302 redirects with Lambda@Edge
https://github.com/maslick/redirector
lambda lambda-edge serverless
Last synced: 15 days ago
JSON representation
Blazing fast 301/302 redirects with Lambda@Edge
- Host: GitHub
- URL: https://github.com/maslick/redirector
- Owner: maslick
- Created: 2021-01-27T07:09:01.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-21T12:22:39.000Z (about 3 years ago)
- Last Synced: 2024-11-02T01:32:52.382Z (about 1 month ago)
- Topics: lambda, lambda-edge, serverless
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-blazingly-fast - redirector - Blazing fast 301/302 redirects with Lambda@Edge (JavaScript)
README
# =redirector=
Blazing fast 301/302 redirects## :rocket: Features
* 301/302 redirects @Edge
* Custom TLS certificate
* Serverless framework on AWS: CloudFront + Lambda@Edge## :clapper: Installation
```console
foo@bar:~$ npm install -g serverless
foo@bar:~$ sls deploy --verbose
```## :cookie: Usage
```console
foo@bar:~$ curl -I https://maslick.tech
HTTP/1.1 301 Moved Permanently
Content-Length: 0
Connection: keep-alive
Server: CloudFront
Date: Sun, 21 Nov 2021 12:18:14 GMT
Location: https://github.com/maslick
Cache-Control: max-age=3600
X-Cache: LambdaGeneratedResponse from cloudfront
Via: 1.1 c4813da7dbee67e890e9271e5ca72739.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: LHR50-C1
X-Amz-Cf-Id: t--UFPNHL8xLquKbqlTsGh9Pn07WXsVoMiMyrflryv-MJk_ADw8-KA==
```* https://maslick.tech/qa
* https://maslick.tech/cv
* https://maslick.tech