forked from snarfed/bridgy-fed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
50 lines (39 loc) · 1.1 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
# https://cloud.google.com/appengine/docs/standard/python/config/appref
# application: bridgy-federated
runtime: python37
# default_expiration: 1h
# https://cloud.google.com/appengine/docs/standard/python3/runtime#entrypoint_best_practices
# https://docs.gunicorn.org/en/latest/settings.html#timeout
entrypoint: gunicorn --workers 1 --threads 10 --timeout 60 -b :$PORT app:application
handlers:
# static
- url: /(static/bootstrap.*\.css)
static_files: oauth_dropins/\1
upload: oauth_dropins/static/bootstrap.*\.css
secure: always
- url: /static
static_dir: static
secure: always
- url: /oauth_dropins/static
static_dir: 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: .*
script: auto
secure: always