forked from rietveld-codereview/rietveld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
63 lines (48 loc) · 1.25 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
application: codereview-hr
version: use-version-arg
runtime: python27
api_version: 1
threadsafe: false
includes:
- mapreduce/include.yaml
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.application
# These are fetched with the rietveld version number in the URL.
- url: /static/(script.js|styles.css)
static_files: static/\1
upload: static/(script.js|styles.css)
- url: /static
static_dir: static
# Admin-only URLs like tasks or cron jobs. See cron.yaml and queue.yaml.
- url: /restricted/.*
script: main.application
login: admin
# These seem to be hit over http and cannot deal with a 302 to https.
- url: /_ah/(start|stop)
script: backends.app
login: admin
- url: /.*
script: main.application
admin_console:
pages:
- name: Client ID and Secret Settings
url: /restricted/set-client-id-and-secret
inbound_services:
- mail
- xmpp_message
- warmup
libraries:
- name: django
version: 1.4
- name: webapp2
version: 2.5.2
env_variables:
DJANGO_SETTINGS_MODULE: 'settings'