-
Notifications
You must be signed in to change notification settings - Fork 7
/
stackplace.yaml
98 lines (77 loc) · 1.49 KB
/
stackplace.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: stackplace
version: 1-git-revision
runtime: python27
api_version: 1
threadsafe: yes
handlers:
# Static files
- url: /favicon\.ico
static_files: images/favicon/favicon.ico
upload: images/favicon/favicon\.ico
- url: /apple-touch-(.*\.png)
static_files: images/favicon/apple-touch-\1
upload: images/favicon/(.*\.png)
- url: /(.*\.txt)
static_files: meta/\1
upload: meta/(.*\.txt)
- url: /js
static_dir: js
expiration: 1m
- url: /css
static_dir: css
expiration: 1m
- url: /images
static_dir: images
expiration: 1m
- url: /templates
static_dir: templates
expiration: 1m
# GAE internal handlers
- url: /_ah/warmup
script: app.bootstrap.app
# Application handlers
# {%DEV
- url: /
static_files: stackplace.html
upload: stackplace\.html
# %}
# {%PROD
#- url: /
# static_files: stackplace-prod.html
# upload: stackplace-prod\.html
# %}
- url: /dev
static_files: stackplace.html
upload: stackplace\.html
- url: /getit.*
script: app.getit.app
- url: /samples
static_dir: samples
expiration: 1m
error_handlers:
- file: 500.html
- error_code: over_quota
file: 500.html
builtins:
- remote_api: on
inbound_services:
- warmup
libraries:
- name: webapp2
version: "2.5.1"
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?index\.yaml
- ^(.*/)?index\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?node_modules
- ^(.*/)?Gruntfile\.js
- ^(.*/)?r\.js
- ^(.*/)?.*\.jar
- ^(.*/)?build\.xml
- ^(.*/)?.*\.md