-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.yaml
82 lines (76 loc) · 1.75 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
application: oh-oppia-test-2
version: 5
runtime: python27
api_version: 1
threadsafe: false
env_variables:
DJANGO_SETTINGS_MODULE: 'oppiaserver.settings'
OPPIA_VERSION: '1.2.3'
builtins:
- appstats: on
- remote_api: on
inbound_services:
- warmup
admin_console:
pages:
- name: Oppia Admin Page
url: /admin
handlers:
- url: /favicon.ico
static_files: static/images/favicon.ico
upload: static/images/favicon.ico
secure: always
http_headers:
Cache-Control: 'public, max-age=2592000'
Vary: Accept-Encoding
- url: /images
static_dir: static/images
secure: always
http_headers:
Cache-Control: 'public, max-age=600'
- url: /static/pages
static_dir: static/pages
secure: always
http_headers:
Cache-Control: 'public, max-age=600'
- url: /scripts
static_dir: static/scripts
secure: always
http_headers:
Cache-Control: 'no-cache'
- url: /css
# NB: not minified. TODO(sll): fix.
static_dir: core/templates/dev/head/css
secure: always
- url: /img
static_dir: third_party/bootstrap/img
secure: always
http_headers:
Cache-Control: 'public, max-age=2592000'
Vary: Accept-Encoding
- url: /third_party/static
static_dir: third_party/static
secure: always
http_headers:
Cache-Control: 'public, max-age=2592000'
Vary: Accept-Encoding
- url: /lib/static
static_dir: lib/static
secure: always
http_headers:
Cache-Control: 'public, max-age=2592000'
Vary: Accept-Encoding
- url: /extensions/widgets/(.*)/(.*)/static/(.*)
static_files: extensions/widgets/\1/\2/static/\3
upload: extensions/widgets/(.*)/(.*)/static/(.*)
secure: always
http_headers:
Cache-Control: 'no-cache'
- url: /.*
script: main.app
secure: always
libraries:
- name: jinja2
version: '2.6'
- name: webapp2
version: '2.5.2'