-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
61 lines (50 loc) · 1.2 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
51
52
53
54
55
56
57
58
59
60
61
runtime: go
api_version: go1
default_expiration: "1h"
handlers:
- url: /.well-known/acme-challenge/VIqIMBrin7je3QuNjODanDRxS1OEXZj4xT22VxcvfSQ
static_files: static/letsencrypt.txt
mime_type: text/plain
upload: static/letsencrypt.txt
- url: /(.*\.css)
mime_type: text/css
static_files: static/\1
upload: static/(.*\.css)
secure: always
- url: /(.*\.html)
mime_type: text/html
static_files: static/\1
upload: static/(.*\.html)
expiration: "1h"
secure: always
- url: /(.*\.js)
mime_type: text/javascript
static_files: static/\1
upload: static/(.*\.js)
secure: always
- url: /(.*\.txt)
mime_type: text/plain
static_files: static/\1
upload: static/(.*\.txt)
secure: always
- url: /(.*\.(bmp|gif|ico|jpeg|jpg|png))
static_files: static/\1
upload: static/(.*\.(bmp|gif|ico|jpeg|jpg|png))
secure: always
- url: /(.+)/
static_files: static/\1/index.html
upload: static/(.+)/index.html
expiration: "15m"
secure: always
- url: /(.+)
static_files: static/\1/index.html
upload: static/(.+)/index.html
expiration: "15m"
secure: always
- url: /
static_files: static/index.html
upload: static/index.html
expiration: "15m"
secure: always
#- url: /.*
# script: _go_app