-
Notifications
You must be signed in to change notification settings - Fork 188
/
app.yaml
139 lines (112 loc) · 3.52 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
runtime: python27
api_version: 1
threadsafe: true
env_variables:
theme: 'default'
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: bp_content/themes/default/static/favicon.ico
upload: bp_content/themes/default/static/favicon.ico
- url: /(\w*)/favicon\.ico
mime_type: image/vnd.microsoft.icon
static_files: bp_content/themes/\1/static/favicon.ico
upload: bp_content/themes/(\w*)/static/favicon.ico
- url: /(\w*)/(apple-touch-icon.*\.(png))
static_files: bp_content/themes/\1/static/\2
upload: bp_content/themes/(\w*)/static/(apple-touch-icon.*\.(png))
- url: /(robots\.txt|humans\.txt|sitemap\.xml|crossdomain\.xml)
script: main.app
- url: /boilerplate/css
mime_type: text/css
static_dir: bp_includes/static/css
- url: /boilerplate/js
mime_type: text/javascript
static_dir: bp_includes/static/js
- url: /boilerplate/img/(.*\.(gif|png|jpg))
static_files: bp_includes/static/img/\1
upload: bp_includes/static/img/(.*\.(gif|png|jpg))
- url: /(\w*)/css/(.*\.css)$
mime_type: text/css
static_files: bp_content/themes/\1/static/css/\2
upload: bp_content/themes/(\w*)/static/css/(.*\.css)$
- url: /(\w*)/js/(.*\.js)$
mime_type: text/javascript
static_files: bp_content/themes/\1/static/js/\2
upload: bp_content/themes/(\w*)/static/js/(.*\.js)$
- url: /(\w*)/img/(.*\.(gif|png|jpg|jpeg))
static_files: bp_content/themes/\1/static/img/\2
upload: bp_content/themes/(\w*)/static/img/(.*\.(gif|png|jpg|jpeg))
- url: /(\w*)/fonts/(.*\.eot)$
mime_type: application/vnd.ms-fontobject
static_files: bp_content/themes/\1/static/fonts/\2
upload: bp_content/themes/(\w*)/static/fonts/(.*\.eot)
- url: /boilerplate/fonts/(.*\.(eot|svg|ttf|woff))
static_files: bp_includes/static/fonts/\1
upload: bp_includes/static/fonts/(.*\.(eot|svg|ttf|woff))
- url: /(\w*)/fonts/(.*\.otf)$
mime_type: font/opentype
static_files: bp_content/themes/\1/static/fonts/\2
upload: bp_content/themes/(\w*)/static/fonts/(.*\.otf)
- url: /(\w*)/fonts/(.*\.ttf)$
mime_type: application/x-font-ttf
static_files: bp_content/themes/\1/static/fonts/\2
upload: bp_content/themes/(\w*)/static/fonts/(.*\.ttf)
- url: /(\w*)/fonts/(.*\.woff)$
mime_type: application/x-font-woff
static_files: bp_content/themes/\1/static/fonts/\2
upload: bp_content/themes/(\w*)/static/fonts/(.*\.woff)
- url: /(\w*)/fonts/(.*\.svg)$
mime_type: image/svg+xml
static_files: bp_content/themes/\1/static/fonts/\2
upload: bp_content/themes/(\w*)/static/fonts/(.*\.svg)
- url: /taskqueue-send-email.*
script: main.app
login: admin
- 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: bp_content/themes/default/errors/over_quota.html
- error_code: dos_api_denial
file: bp_content/themes/default/errors/dos_api_denial.html
- error_code: timeout
file: bp_content/themes/default/errors/timeout.html