2013-08-08 21:06:32 +04:00
|
|
|
application: cr-status
|
2014-11-13 03:59:26 +03:00
|
|
|
version: 2014-11-13
|
2013-03-07 22:29:38 +04:00
|
|
|
runtime: python27
|
|
|
|
threadsafe: true
|
|
|
|
api_version: 1
|
|
|
|
|
2014-01-29 06:24:07 +04:00
|
|
|
# default_expiration: "30s"
|
2013-03-07 22:29:38 +04:00
|
|
|
|
2013-07-10 05:49:23 +04:00
|
|
|
builtins:
|
|
|
|
- remote_api: on
|
|
|
|
|
2013-03-07 22:29:38 +04:00
|
|
|
libraries:
|
|
|
|
- name: webapp2
|
|
|
|
version: "latest"
|
|
|
|
- name: django
|
2013-06-04 05:39:04 +04:00
|
|
|
version: "1.4" #"latest"
|
2013-04-12 21:19:21 +04:00
|
|
|
# - name: setuptools
|
|
|
|
# version: latest
|
2013-03-07 22:29:38 +04:00
|
|
|
|
|
|
|
env_variables:
|
|
|
|
DJANGO_SETTINGS_MODULE: 'settings'
|
|
|
|
|
2013-04-12 21:19:21 +04:00
|
|
|
handlers:
|
|
|
|
|
|
|
|
# Static handlers ---------------------------------------------------------------
|
|
|
|
- url: /favicon\.ico
|
|
|
|
static_files: static/img/chromium-128.png
|
|
|
|
upload: static/img/chromium-128\.png
|
|
|
|
|
2014-08-05 20:38:41 +04:00
|
|
|
- url: /robots\.txt
|
|
|
|
static_files: static/robots.txt
|
|
|
|
upload: static/robots\.txt
|
|
|
|
|
2013-04-12 21:19:21 +04:00
|
|
|
- url: /static
|
|
|
|
static_dir: static
|
2014-01-29 06:24:07 +04:00
|
|
|
#expiration: 30s
|
2013-08-15 02:39:11 +04:00
|
|
|
http_headers:
|
|
|
|
Access-Control-Allow-Origin: "*"
|
2013-04-12 21:19:21 +04:00
|
|
|
|
|
|
|
# Metrics data handlers --------------------------------------------------------
|
|
|
|
- url: /data/.*
|
|
|
|
script: metrics.app
|
|
|
|
|
|
|
|
# Admin ------------------------------------------------------------------------
|
|
|
|
- url: /admin/gae/.*
|
|
|
|
script: google.appengine.ext.admin.application
|
|
|
|
login: admin
|
|
|
|
|
|
|
|
- url: /cron/metrics
|
|
|
|
script: admin.app
|
|
|
|
login: admin # Prevents raw access to this handler. Cron runs as admin.
|
|
|
|
|
|
|
|
- url: /admin/features/.*
|
|
|
|
script: admin.app
|
2014-10-01 23:21:45 +04:00
|
|
|
secure: always
|
2013-06-19 10:39:09 +04:00
|
|
|
|
|
|
|
- url: /admin/users/.*
|
|
|
|
script: users.app
|
2013-04-12 21:19:21 +04:00
|
|
|
login: admin
|
2014-10-01 23:21:45 +04:00
|
|
|
secure: always
|
2013-04-12 21:19:21 +04:00
|
|
|
|
2013-06-19 10:39:09 +04:00
|
|
|
- url: /admin/.*
|
|
|
|
script: google.appengine.ext.admin.application
|
|
|
|
login: admin
|
2014-10-01 23:21:45 +04:00
|
|
|
secure: always
|
2013-06-19 10:39:09 +04:00
|
|
|
|
2013-04-12 21:19:21 +04:00
|
|
|
# Main server ------------------------------------------------------------------
|
|
|
|
- url: /.*
|
|
|
|
script: server.app
|
2014-10-01 23:21:45 +04:00
|
|
|
secure: always
|
2013-04-12 21:19:21 +04:00
|
|
|
|
2013-03-07 22:29:38 +04:00
|
|
|
skip_files:
|
|
|
|
- ^(.*/)?app\.yaml
|
|
|
|
- ^(.*/)?app\.yml
|
|
|
|
- ^(.*/)?index\.yaml
|
|
|
|
- ^(.*/)?index\.yml
|
|
|
|
- ^(.*/)?#.*#
|
|
|
|
- ^(.*/)?.*~
|
|
|
|
- ^(.*/)?.*\.py[co]
|
|
|
|
- ^(.*/)?.*/RCS/.*
|
|
|
|
- ^(.*/)?\..*
|
|
|
|
- ^(.*/)?.*\.csv$
|
|
|
|
- ^(.*/)?.*\.psd$
|
|
|
|
- ^(.*/)?.*\.sql[3]$
|
|
|
|
- ^(.*/)?.*\.sh$
|
|
|
|
- ^(.*/)?.*\.scss$
|
2013-08-12 11:11:11 +04:00
|
|
|
- ^static/js/polymer-all
|
2013-08-30 22:16:58 +04:00
|
|
|
- ^(.*/)?node_modules
|
2013-12-18 00:33:14 +04:00
|
|
|
- ^(.*/)?.[LICENSE|PATENTS|AUTHORS|CONTRIBUTING|COPYING](\.md)?
|