@@ -21,46 +21,43 @@ Refer to the [Getting Started Guide](docs/getting_started.md) for how to build a
21
21
22
22
## Directory Structure and File Descriptions
23
23
24
- <div style =" background-color : rgb (50 , 50 , 50 );" >
25
-
26
24
```
27
25
nginx-lambda-gateway
28
- |
29
- |-- common
30
- | |-- etc
31
- | | |-- nginx default nginx-lambda-gateway configuration
32
- | | └─- ssl contains certificates and NGINX Plus license
33
- | |-- lambda-core
34
- | | |-- awscredentials.js common lib to read and write AWS credentials
35
- | | |-- awssig2.js common lib to build AWS signature v2
36
- | | |-- awssig4.js common lib to build AWS signature v4
37
- | | |-- lambdagateway.js common lib to integrate the Lambda from NGINX
38
- | | |-- lambda_ngx_apis.conf API endpoints config for nginx-lambda-gateway
39
- | | |-- lambda_ngx_http.conf common config under NGINX http directive
40
- | | |-- lambda_ngx_proxy.conf common config to be set before proxy_pass
41
- | | └-- utils.js common lib to be reused by all NJS codebase
42
- | └-- lambda-emulator proxy for Lambda Runtime API to locally test
43
- |
44
- |-- docker
45
- | |-- Dockerfile.oss for NGINX OSS to act as a Lambda gateway
46
- | └-- Dockerfile.plus for NGINX Plus to act as a Lambda gateway
47
- |
48
- |-- docker-compose.yml Docker config to build and run nginx-lambda-gateway
49
- |-- settings.env Docker env file
50
- |
51
- |-- docs contains documentation about the project
52
- |
53
- |-- examples
54
- | |-- 01-all-lambda-function-arns NGINX proxy to all Lambda function ARNs
55
- | |-- 02-one-lambda-function-arn NGINX proxy to one Lambda function ARN
56
- | |-- 03-one-lambda-function-url NGINX proxy to one Lambda function URL
57
- | └-- 04-lambda-function-arn-url NGINX proxy to both of Lambda function ARN and URL
58
- |
59
- |-- tests test launcher and unit/integration test codebase
60
- |
61
- └-- Makefile automate to build/start/stop nginx-lambda-gateway
26
+ │
27
+ ├── common
28
+ │ ├── etc
29
+ │ │ ├── nginx default nginx-lambda-gateway configuration
30
+ │ │ └── ssl contains certificates and NGINX Plus license
31
+ │ ├── lambda-core
32
+ │ │ ├── awscredentials.js common lib to read and write AWS credentials
33
+ │ │ ├── awssig2.js common lib to build AWS signature v2
34
+ │ │ ├── awssig4.js common lib to build AWS signature v4
35
+ │ │ ├── lambdagateway.js common lib to integrate the Lambda from NGINX
36
+ │ │ ├── lambda_ngx_apis.conf API endpoints config for nginx-lambda-gateway
37
+ │ │ ├── lambda_ngx_http.conf common config under NGINX http directive
38
+ │ │ ├── lambda_ngx_proxy.conf common config to be set before proxy_pass
39
+ │ │ └── utils.js common lib to be reused by all NJS codebase
40
+ │ └── lambda-emulator proxy for Lambda Runtime API to locally test
41
+ │
42
+ ├── docker
43
+ │ ├── Dockerfile.oss for NGINX OSS to act as a Lambda gateway
44
+ │ └── Dockerfile.plus for NGINX Plus to act as a Lambda gateway
45
+ │
46
+ ├── docker-compose.yml Docker config to build and run nginx-lambda-gateway
47
+ ├── settings.env Docker env file
48
+ │
49
+ ├── docs contains documentation about the project
50
+ │
51
+ ├── examples
52
+ │ ├── 01-all-lambda-function-arns NGINX proxy to all Lambda function ARNs
53
+ │ ├── 02-one-lambda-function-arn NGINX proxy to one Lambda function ARN
54
+ │ ├── 03-one-lambda-function-url NGINX proxy to one Lambda function URL
55
+ │ └── 04-lambda-function-arn-url NGINX proxy to both of Lambda function ARN and URL
56
+ │
57
+ ├── tests test launcher and unit/integration test codebase
58
+ │
59
+ └── Makefile automate to build/start/stop nginx-lambda-gateway
62
60
```
63
- </div >
64
61
65
62
## Development
66
63
0 commit comments