-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathapp.yaml
43 lines (41 loc) · 1.32 KB
/
app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
service: default
runtime: nodejs20
instance_class: F1
handlers:
- url: /
secure: always
redirect_http_response_code: 301
static_files: public/index.html
upload: public/index.html
http_headers:
Strict-Transport-Security: 'max-age=63072000; includeSubDomains; preload'
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-FRAME-OPTIONS: 'sameorigin'
Referrer-Policy: 'strict-origin-when-cross-origin'
- url: /(.*)/
secure: always
redirect_http_response_code: 301
static_files: public/\1/index.html
upload: public/(.*)/index.html
http_headers:
Strict-Transport-Security: 'max-age=63072000; includeSubDomains; preload'
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-FRAME-OPTIONS: 'sameorigin'
Referrer-Policy: 'strict-origin-when-cross-origin'
- url: /(.*)
secure: always
redirect_http_response_code: 301
static_files: public/\1
upload: public/(.*)
http_headers:
Strict-Transport-Security: 'max-age=63072000; includeSubDomains; preload'
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-FRAME-OPTIONS: 'sameorigin'
Referrer-Policy: 'strict-origin-when-cross-origin'
automatic_scaling:
min_instances: 0
max_instances: 1
target_cpu_utilization: 0.8