-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.yaml
More file actions
54 lines (44 loc) · 1.15 KB
/
app.yaml
File metadata and controls
54 lines (44 loc) · 1.15 KB
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
application: quartermaster-bne
version: 1
runtime: python27
api_version: 1
threadsafe: true
builtins:
- remote_api: on
- deferred: on
inbound_services:
- warmup
skip_files:
- ^(.*/)?app\.ya?ml
- ^(.*/)?index\.ya?ml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?.*\.bak$
error_handlers:
- error_code: over_quota
file: error_pages/over_quota.html
- error_code: timeout
file: error_pages/timeout.html
handlers:
# Static files (stylesheet, etc)
- url: /static
static_dir: quartermaster/static
# Special static file rule for robots.txt
- url: /robots.txt
static_files: quartermaster/static/robots.txt
upload: quartermaster/static/robots.txt
# Special static file rule for favicon.ico
- url: /favicon.ico
static_files: quartermaster/static/favicon.ico
upload: quartermaster/static/favicon.ico
# Handler for high-security content (AJAX endpoints, etc)
- url: /api/.*
script: djangoappengine.main.main.application
login: required
auth_fail_action: unauthorized
# Handler for low-security content (Our app can handle authentication for these pages)
- url: /.*
script: djangoappengine.main.main.application