File tree Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1
1
Edition : 3.0.0
2
2
Type : Project
3
3
Name : nginx-reverse-proxy
4
- Version : 0.0.7
4
+ Version : 0.0.8
5
5
Provider :
6
6
- 阿里云
7
7
Description : 本案例快速部署一个 Nginx 项目到阿里云函数计算 FC。
Original file line number Diff line number Diff line change @@ -15,11 +15,13 @@ resources:
15
15
props :
16
16
region : ${vars.region}
17
17
description : Serverless Devs Web Framework Function
18
- runtime : custom
18
+ runtime : custom.debian10
19
+ layers :
20
+ - acs:fc:${vars.region}:official:layers/Nginx/versions/1
19
21
timeout : 60
20
- cpu : 0.35
21
- memorySize : 512
22
- diskSize : 512
22
+ cpu : 1
23
+ memorySize : 2048
24
+ diskSize : 10240
23
25
instanceConcurrency : 100
24
26
customRuntimeConfig :
25
27
command :
Original file line number Diff line number Diff line change 1
1
Edition : 3.0.0
2
2
Type : Project
3
3
Name : start-nginx-v3
4
- Version : 0.0.11
4
+ Version : 0.0.12
5
5
Provider :
6
6
- 阿里云
7
7
Description : 本案例快速部署一个 Nginx 项目到阿里云函数计算 FC。
Original file line number Diff line number Diff line change 12
12
gzip_types text/html text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png image/svg+xml;
13
13
gzip_vary on;
14
14
gzip_disable "MSIE [1-6]\. " ;
15
- include /etc /nginx/mime.types ;
15
+ include /opt /nginx/conf /mime.types ;
16
16
add_header Access-Control-Allow-Origin *;
17
17
18
18
listen 9000 ;
Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ resources:
14
14
props :
15
15
region : ${vars.region}
16
16
description : Serverless Devs Web Framework Function
17
- runtime : custom
17
+ runtime : custom.debian10
18
+ layers :
19
+ - acs:fc:${vars.region}:official:layers/Nginx/versions/1
18
20
timeout : 60
19
21
cpu : 1
20
22
memorySize : 2048
21
- diskSize : 512
23
+ diskSize : 10240
22
24
instanceConcurrency : 100
23
25
customRuntimeConfig :
24
26
command :
You can’t perform that action at this time.
0 commit comments