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
|
2017-08-19 20:30:54 +00:00
|
|
|
secure: always
|
2017-08-12 23:51:48 +00:00
|
|
|
|
|
|
|
- url: /static
|
|
|
|
static_dir: static
|
2017-08-19 20:30:54 +00:00
|
|
|
secure: always
|
2017-08-12 23:51:48 +00:00
|
|
|
|
|
|
|
- url: /oauth_dropins/static
|
|
|
|
static_dir: local/lib/python2.7/site-packages/oauth_dropins/static
|
2017-08-19 20:30:54 +00:00
|
|
|
secure: always
|
2017-08-12 23:51:48 +00:00
|
|
|
|
2017-08-27 18:53:48 +00:00
|
|
|
- url: /.well-known/acme-challenge
|
|
|
|
static_dir: .well-known/acme-challenge
|
2017-08-19 20:30:54 +00:00
|
|
|
secure: always
|
2017-08-16 14:47:21 +00:00
|
|
|
|
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
|
2017-08-19 20:30:54 +00:00
|
|
|
secure: always
|
2017-08-18 14:31:31 +00:00
|
|
|
|
|
|
|
- url: /favicon.ico
|
|
|
|
static_files: static/favicon.ico
|
|
|
|
upload: static/favicon.ico
|
2017-08-19 20:30:54 +00:00
|
|
|
secure: always
|
2017-08-18 14:31:31 +00:00
|
|
|
|
|
|
|
- url: /robots.txt
|
|
|
|
static_files: static/robots.txt
|
|
|
|
upload: static/robots.txt
|
2017-08-19 20:30:54 +00:00
|
|
|
secure: always
|
2017-08-12 23:51:48 +00:00
|
|
|
|
|
|
|
# dynamic
|
2017-10-12 14:34:20 +00:00
|
|
|
- url: /render
|
|
|
|
script: render.app
|
|
|
|
secure: always
|
|
|
|
|
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-09-12 15:16:54 +00:00
|
|
|
- url: /[^@/]+/salmon/?
|
2017-08-27 19:20:59 +00:00
|
|
|
script: salmon.app
|
|
|
|
secure: always
|
|
|
|
|
2017-09-12 15:16:54 +00:00
|
|
|
- url: /(acct:)?[^/]+/?
|
2017-08-19 16:24:00 +00:00
|
|
|
script: webfinger.app
|
|
|
|
secure: always
|
|
|
|
|
2017-09-02 03:49:00 +00:00
|
|
|
- url: /.well-known/.*
|
2017-08-27 18:53:48 +00:00
|
|
|
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?)/.*
|
2017-09-20 14:40:58 +00:00
|
|
|
- ^local/lib/python2.7/site-packages/Crypto/.*
|
2017-08-12 23:51:48 +00:00
|
|
|
- ^local/lib/python2.7/site-packages/setuptools/script\ \(dev\)\.tmpl$
|