forked from GoogleChrome/chromium-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
120 lines (95 loc) · 2.56 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
runtime: python27
threadsafe: true
api_version: 1
instance_class: F4
# default_expiration: "30s"
builtins:
- remote_api: on
handlers:
# Static handlers ---------------------------------------------------------------
- url: /favicon\.ico
static_files: static/img/chromium-128.png
upload: static/img/chromium-128\.png
secure: always
- url: /robots\.txt
static_files: static/robots.txt
upload: static/robots\.txt
secure: always
- url: /static
static_dir: static
#expiration: 30s
application_readable: true # So static assets can be read by inline_file django tag.
http_headers:
Access-Control-Allow-Origin: "*"
secure: always
# Metrics data handlers --------------------------------------------------------
- url: /data/.*
script: metrics.app
secure: always
# Admin ------------------------------------------------------------------------
- url: /cron/.*
script: admin.app
# Any cron job must be harmless if it is called too often or with bad args
- url: /tasks/.*
script: notifier.app
# Header checks prevent raw access to this handler. Tasks have headers.
- url: /_ah/bounce
script: notifier.app
login: admin # Prevents raw access to this handler.
- url: /admin/blink.*
script: blink_handler.app
login: required # non-admin
secure: always
- url: /admin/subscribers
script: blink_handler.app
login: required # non-admin
secure: always
- url: /admin/features/.*
script: admin.app
login: required # non-admin
secure: always
- url: /guide/.*
script: guide.app
login: required # non-admin
secure: always
- url: /admin/users/.*
script: users.app
login: admin
secure: always
- url: /settings
script: users.app
secure: always
# Main server handlers ---------------------------------------------------------
# features.xml needs to support HTTP as well as HTTPS, as some RSS backends don't support SNI certs.
# Same issue as what's described at https://github.com/Polymer/blog/issues/7
- url: /(features|samples).xml
script: server.app
secure: optional
# TODO(jrobbins): Remove after the next deployment.
- url: /features/star/.*
script: notifier.app
secure: always
- url: /features/schedule
script: schedule.app
secure: always
# TODO(jrobbins): Remove after the next deployment.
- url: /cues.*
script: cues.app
login: required # non-admin
secure: always
- url: /api/.*
script: api.register.app
secure: always
# Everything else
- url: /.*
script: server.app
secure: always
includes:
- skip_files.yaml
- env_vars.yaml
inbound_services:
- mail
- mail_bounce
libraries:
- name: grpcio
version: 1.0.0