forked from GoogleChrome/chromium-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
98 lines (81 loc) · 2.11 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
application: cr-status
version: h2push
runtime: python27
threadsafe: true
api_version: 1
# default_expiration: "30s"
builtins:
- remote_api: on
libraries:
- name: webapp2
version: "latest"
- name: django
version: "1.4" #"latest"
# - name: setuptools
# version: latest
env_variables:
DJANGO_SETTINGS_MODULE: 'settings'
handlers:
# Static handlers ---------------------------------------------------------------
- url: /favicon\.ico
static_files: static/img/chromium-128.png
upload: static/img/chromium-128\.png
- url: /robots\.txt
static_files: static/robots.txt
upload: static/robots\.txt
- url: /static
static_dir: static
#expiration: 30s
http_headers:
Access-Control-Allow-Origin: "*"
# Metrics data handlers --------------------------------------------------------
- url: /data/.*
script: metrics.app
# Admin ------------------------------------------------------------------------
- url: /admin/gae/.*
script: google.appengine.ext.admin.application
login: admin
- url: /cron/.*
script: admin.app
login: admin # Prevents raw access to this handler. Cron runs as admin.
- url: /admin/features/.*
script: admin.app
secure: always
- url: /admin/users/.*
script: users.app
login: admin
secure: always
- url: /admin/.*
script: google.appengine.ext.admin.application
login: admin
secure: always
# Main server ------------------------------------------------------------------
# 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
- url: /.*
script: server.app
secure: always
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?index\.yaml
- ^(.*/)?index\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?.*\.csv$
- ^(.*/)?.*\.psd$
- ^(.*/)?.*\.sql[3]$
- ^(.*/)?.*\.sh$
- ^(.*/)?.*\.scss$
- ^http2push/example
- ^http2push/site
- ^(.*/)?node_modules
- ^(.*/)?tests
- ^(.*/)?.[LICENSE|PATENTS|AUTHORS|CONTRIBUTING|COPYING](\.md)?
- ^(.*/)?.*\.md$