2017-08-12 23:51:48 +00:00
|
|
|
# https://cloud.google.com/appengine/docs/standard/python/config/appref
|
|
|
|
|
2017-08-14 14:56:49 +00:00
|
|
|
# application: bridgy-federated
|
2017-08-12 23:51:48 +00:00
|
|
|
runtime: python27
|
|
|
|
threadsafe: yes
|
|
|
|
api_version: 1
|
|
|
|
default_expiration: 1h
|
|
|
|
|
|
|
|
builtins:
|
|
|
|
- remote_api: on
|
|
|
|
|
|
|
|
libraries:
|
2017-08-19 16:24:00 +00:00
|
|
|
- name: jinja2
|
|
|
|
version: latest
|
2017-08-13 07:12:16 +00:00
|
|
|
- name: lxml
|
|
|
|
version: latest
|
2017-08-19 14:41:25 +00:00
|
|
|
- name: pycrypto
|
|
|
|
version: latest
|
2017-08-12 23:51:48 +00:00
|
|
|
- name: ssl
|
|
|
|
version: latest
|
|
|
|
- name: webob
|
|
|
|
version: latest
|
|
|
|
|
|
|
|
handlers:
|
|
|
|
|
|
|
|
# static
|
|
|
|
- url: /(static/bootstrap.*\.css)
|
|
|
|
static_files: local/lib/python2.7/site-packages/oauth_dropins/\1
|
|
|
|
upload: local/lib/python2.7/site-packages/oauth_dropins/static/bootstrap.*\.css
|
|
|
|
|
|
|
|
- url: /static
|
|
|
|
static_dir: static
|
|
|
|
|
|
|
|
- url: /oauth_dropins/static
|
|
|
|
static_dir: local/lib/python2.7/site-packages/oauth_dropins/static
|
|
|
|
|
2017-08-16 14:47:21 +00:00
|
|
|
- url: /.well-known
|
|
|
|
static_dir: .well-known
|
|
|
|
|
2017-08-12 23:51:48 +00:00
|
|
|
- url: /
|
|
|
|
static_files: static/index.html
|
|
|
|
upload: static/index.html
|
2017-08-18 14:31:31 +00:00
|
|
|
expiration: 1m
|
|
|
|
|
|
|
|
- url: /favicon.ico
|
|
|
|
static_files: static/favicon.ico
|
|
|
|
upload: static/favicon.ico
|
|
|
|
|
|
|
|
- url: /robots.txt
|
|
|
|
static_files: static/robots.txt
|
|
|
|
upload: static/robots.txt
|
2017-08-12 23:51:48 +00:00
|
|
|
|
|
|
|
# dynamic
|
2017-08-15 14:42:29 +00:00
|
|
|
- url: /wm/.+
|
|
|
|
script: add_webmention.app
|
|
|
|
secure: always
|
2017-08-15 06:07:24 +00:00
|
|
|
|
|
|
|
- url: /webmention
|
|
|
|
script: webmention.app
|
2017-08-15 14:42:29 +00:00
|
|
|
secure: always
|
|
|
|
|
2017-08-19 16:24:00 +00:00
|
|
|
- url: /[^@/]+/?(inbox)?
|
2017-08-15 14:42:29 +00:00
|
|
|
script: activitypub.app
|
|
|
|
secure: always
|
2017-08-12 23:51:48 +00:00
|
|
|
|
2017-08-19 16:24:00 +00:00
|
|
|
- url: /(acct:)?@[^/]+/?
|
|
|
|
script: webfinger.app
|
|
|
|
secure: always
|
|
|
|
|
2017-08-12 23:51:48 +00:00
|
|
|
skip_files:
|
|
|
|
- ^(.*/)?.*\.py[co]
|
|
|
|
- ^(.*/)?.*/RCS/.*
|
|
|
|
- ^(.*/)?\.git.*
|
|
|
|
- ^(.*/)?.*\.bak$
|
|
|
|
- ^(.*/)?(\.?coverage|debian|docs?|examples?|l|pydocs?|python3|ref|samples?|TAGS|tests?)/.*
|
|
|
|
- ^local/lib/python2.7/site-packages/setuptools/script\ \(dev\)\.tmpl$
|