-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
99 lines (77 loc) · 2.07 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
application: aqua-teacher
#application: stg-aqua-teacher
version: 1-2-3
runtime: go
api_version: go1
# default_expiration: "7d"
# default_expiration: "1m"
instance_class: F1
automatic_scaling:
min_idle_instances: automatic
max_idle_instances: 1
min_pending_latency: 3000ms
max_pending_latency: automatic
max_concurrent_requests: 80
skip_files:
- ^(.*/)?.*/node_modules/.*
- ^(.*/)?.*/test/.*
handlers:
# main
- url: /(.*\.(gif|png|jpg|pdf))
static_files: static/\1
upload: static/img/(.*\.(gif|png|jpg|pdf))
- url: /(favicon.ico)
static_files: static/img/\1
upload: static/img/favicon.ico
- url: /css/(.*\.(css|map))
static_files: static/css/\1
upload: static/css/(.*\.(css|map))
- url: /js/(.*\.(js|map))
static_files: static/js/\1
upload: static/js/(.*\.(js|map))
- url: /font/(.*\.(eot|svg|ttf|woff))
static_files: static/font/\1
upload: static/font/(.*\.(eot|svg|ttf|woff))
- url: /view/(.*\.html)
static_files: static/view/\1
upload: static/view/(.*\.html)
- url: /
static_files: static/index.html
upload: static/index.html
- url: /cardrules
static_files: static/index.html
upload: static/index.html
- url: /competition
static_files: static/index.html
upload: static/index.html
- url: /comprehensive
static_files: static/index.html
upload: static/index.html
- url: /all
static_files: static/index.html
upload: static/index.html
- url: /submission
static_files: static/index.html
upload: static/index.html
- url: /posted_content
static_files: static/index.html
upload: static/index.html
- url: /all_content
static_files: static/index.html
upload: static/index.html
- url: /googled39548f713433868.html
static_files: static/googled39548f713433868.html
upload: static/googled39548f713433868.html
- url: /bower_components
static_dir: bower_components/
- url: /api/.*
script: _go_app
# admin
- url: /admin
static_files: static/view/admin/index.html
login: admin
upload: static/view/admin/index.html
- url: /admin/(.*\.html)
static_files: static/view/admin/\1
login: admin
upload: static/view/admin/(.*\.html)