-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
46 lines (34 loc) · 900 Bytes
/
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
application: codereview
version: 30
runtime: python
api_version: 1
default_expiration: 7d # This is good for images, which never change
handlers:
- url: /(robots.txt|favicon.ico)
static_files: static/\1
upload: static/(robots.txt|favicon.ico)
- url: /google7db36eb2cc527940.html
static_files: static/robots.txt
upload: static/robots.txt
- url: /static/upload.py
script: main.py
- url: /static/(script.js|styles.css)
static_files: static/\1
upload: static/(script.js|styles.css)
expiration: 1h # Shorter expiration, these change often
- url: /static
static_dir: static
- url: /remote_api
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
login: admin
- url: /stats.*
script: $PYTHON_LIB/google/appengine/ext/appstats/ui.py
- url: .*
script: main.py
admin_console:
pages:
- name: Appstats
url: /stats
inbound_services:
- xmpp_message
- mail