-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
132 lines (105 loc) · 2.87 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
application: semistatic-gae
version: dev
runtime: python27
api_version: 1
threadsafe: true
env_variables:
project_title: 'Semistatic GAE'
theme: 'default' #only letter, digits and underscore allowed in theme name
homepage: 'home'
site_email_address: '[email protected]'
site_email_address_sender: '[email protected]'
default_expiration: "30d"
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^README\..*
- \.gitignore
- ^\.git/.*
builtins:
- appstats: on #/_ah/stats/
- remote_api: on #/_ah/remote_api/
handlers:
- url: /saveitem.*
script: main.app
login: admin
- url: /send-message.*
script: main.app
- url: /favicon\.ico
mime_type: image/vnd.microsoft.icon
static_files: static/favicon.ico
upload: static/favicon.ico
- url: /robots.txt
static_files: static/robots.txt
upload: static/robots.txt
- url: /(\w*)/favicon\.ico
mime_type: image/vnd.microsoft.icon
static_files: static/favicon.ico
upload: static/favicon.ico
- url: /(\w*)/(apple-touch-icon.*\.(png))
static_files: static/\2
upload: static/(apple-touch-icon.*\.(png))
- url: /(robots\.txt|humans\.txt|sitemap\.xml|crossdomain\.xml)
script: main.app
- url: /css
mime_type: text/css
static_dir: static/css
- url: /js
mime_type: text/javascript
static_dir: static/js
- url: /img/(.*\.(gif|png|jpg|svg))
static_files: static/img/\1
upload: static/img/(.*\.(gif|png|jpg|svg))
- url: /(\w*)/css/(.*\.css)$
mime_type: text/css
static_files: themes/\1/css/\2
upload: themes/(\w*)/css/(.*\.(css))
- url: /(\w*)/css/images/(.*\.(gif|png|jpg|svg))
static_files: themes/\1/css/images/\2
upload: themes/(\w*)/css/images/(.*\.(gif|png|jpg|svg))
- url: /(\w*)/css/fonts/(.*\.(woff|ttf))$
static_files: themes/\1/css/fonts/\2
upload: themes/(\w*)/css/(.*\.(woff|ttf))
- url: /(\w*)/js/(.*\.js)$
mime_type: text/javascript
static_files: themes/\1/js/\2
upload: themes/(\w*)/js/(.*\.(js))
- url: /(\w*)/img/(.*\.(gif|png|jpg|svg))
static_files: themes/\1/img/\2
upload: themes/(\w*)/img/(.*\.(gif|png|jpg|svg))
- url: /fonts/(.*\.eot)
mime_type: application/vnd.ms-fontobject
static_files: static/fonts/\1
upload: static/fonts/(.*\.eot)
- url: /fonts/(.*\.otf)
mime_type: font/opentype
static_files: static/fonts/\1
upload: static/fonts/(.*\.otf)
- 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: errors/over_quota.html
- error_code: dos_api_denial
file: errors/dos_api_denial.html
- error_code: timeout
file: errors/timeout.html