forked from coto/gae-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml~
107 lines (87 loc) · 2.23 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
application: debugjc
version: dev
runtime: python27
api_version: 1
threadsafe: true
default_expiration: "30d"
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?tests$
- ^(.*/)?test$
- ^test/(.*/)?
- ^COPYING.LESSER
- ^README\..*
- \.gitignore
- ^\.git/.*
- \.*\.lint$
- ^fabfile\.py
- ^testrunner\.py
- ^grunt\.js
- ^node_modules/(.*/)?
builtins:
- appstats: on #/_ah/stats/
- remote_api: on #/_ah/remote_api/
handlers:
- url: /admin.*
script: main.app
login: admin
- url: /favicon\.ico
mime_type: image/vnd.microsoft.icon
static_files: static/favicon.ico
upload: static/favicon.ico
- url: /apple-touch-icon\.png
static_files: static/apple-touch-icon.png
upload: static/apple-touch-icon.png
- url: /apple-touch-icon-precomposed\.png
static_files: static/apple-touch-icon-precomposed.png
upload: static/apple-touch-icon-precomposed.png
- url: /(robots\.txt|humans\.txt|crossdomain\.xml)
static_files: static/\1
upload: static/(robots\.txt|humans\.txt|crossdomain\.xml)
- url: /boilerplate/css
mime_type: text/css
static_dir: boilerplate/static/css
- url: /boilerplate/js
mime_type: text/javascript
static_dir: boilerplate/static/js
- url: /boilerplate/img/(.*\.(gif|png|jpg))
static_files: boilerplate/static/img/\1
upload: boilerplate/static/img/(.*\.(gif|png|jpg))
- url: /img/(.*\.(gif|png|jpg|jpeg))
static_files: static/img/\1
upload: static/img/(.*\.(gif|png|jpg|jpeg))
- url: /css/(.*\.(gif|png|jpg|jpeg))
static_files: static/css/\1
upload: static/css/(.*\.(gif|png|jpg|jpeg))
- url: /css
mime_type: text/css
static_dir: static/css
- url: /js
mime_type: text/javascript
static_dir: static/js
- url: /.*
script: main.app
# secure: always
libraries:
- name: jinja2
version: "2.6"
- name: webapp2
version: "2.5.2"
- name: markupsafe
version: "0.15"
- name: pycrypto
version: "2.6"
error_handlers:
# Only errors with error_code, don't put a default error here
- error_code: over_quota
file: boilerplate/templates/errors/over_quota.html
- error_code: dos_api_denial
file: boilerplate/templates/errors/dos_api_denial.html
- error_code: timeout
file: boilerplate/templates/errors/timeout.html