-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.yaml
79 lines (63 loc) · 1.35 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
application: klubbalfaromeonorge
version: 1
runtime: python27
api_version: 1
threadsafe: true
builtins:
- deferred: on
- remote_api: on
libraries:
- name: webapp2
version: latest
- name: jinja2
version: latest
handlers:
- url: /favicon.ico
static_files: images/favicon.ico
upload: images/favicon.ico
- url: /admin/.*
script: google.appengine.ext.admin.application
login: admin
#- url: /load/.*
# login: admin
# secure: always
# script: portello.application
- url: /images
static_dir: images
login: optional
auth_fail_action: redirect
- url: /static
static_dir: static
login: optional
- url: /ajax/.*
login: optional
secure: always
script: portello.application
- url: /cron/.*
login: admin
secure: always
script: portello.application
- url: /reindex
login: admin
secure: always
script: portello.application
#- url: /backup
# login: admin
# secure: always
# script: portello.application
- url: /restore
login: admin
secure: always
script: portello.application
- url: /selfservice/.*
login: optional
secure: always
script: portello.application
# This handler catches all requests that don't match a previous handler.
- url: /.*
login: required
secure: always
auth_fail_action: redirect
script: portello.application
# This is the import-stuff handler for CSV data. Can be skipped on production
# deployments