# https://cloud.google.com/appengine/docs/standard/python/config/appref # application: bridgy-federated # version: 1 runtime: python27 threadsafe: yes api_version: 1 default_expiration: 1h builtins: - remote_api: on libraries: - name: jinja2 version: latest - name: lxml version: latest - name: pycrypto version: latest - 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 secure: always - url: /static static_dir: static secure: always - url: /oauth_dropins/static static_dir: local/lib/python2.7/site-packages/oauth_dropins/static secure: always - url: /.well-known/acme-challenge static_dir: .well-known/acme-challenge secure: always - url: / static_files: static/index.html upload: static/index.html expiration: 1m secure: always - url: /favicon.ico static_files: static/favicon.ico upload: static/favicon.ico secure: always - url: /robots.txt static_files: static/robots.txt upload: static/robots.txt secure: always # dynamic - url: /render script: render.app secure: always - url: /(log|responses) script: logs.app secure: always - url: /wm/.+ script: add_webmention.app secure: always - url: /webmention script: webmention.app secure: always - url: /[^@/]+/?(inbox)? script: activitypub.app secure: always - url: /[^/]+/salmon/? script: salmon.app secure: always - url: /(acct:)?[^/]+/? script: webfinger.app secure: always - url: /.well-known/.* script: webfinger.app secure: always skip_files: - ^(.*/)?.*\.py[co] - ^(.*/)?.*/RCS/.* - ^(.*/)?\.git.* - ^(.*/)?.*\.bak$ - ^(.*/)?(\.?coverage|debian|docs?|examples?|l|pydocs?|python3|ref|samples?|TAGS|tests?)/.* - ^local/lib/python2.7/site-packages/Crypto/.* - ^local/lib/python2.7/site-packages/setuptools/script\ \(dev\)\.tmpl$