This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
forked from google/WebFundamentals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
83 lines (71 loc) · 1.77 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
runtime: python27
api_version: 1
threadsafe: true
# application: petele-scratch
# version: wf-devsite
handlers:
- url: /test-results.json
static_files: test-results.json
upload: test-results.json
- url: /robots.txt
static_files: gae/robots.txt
upload: gae/robots.txt
- url: /wf-local/scripts/
static_dir: gae/scripts/
- url: /wf-local/styles/
static_dir: gae/styles/
- url: /wf-local/images/
static_dir: gae/images/
- url: /web/(.*\.(png|gif|jpg|svg|xml|mp4|webm|pdf|mp3|mov))
static_files: src/content/en/\1
expiration: 1d
upload: src/content/en/(.*\.(png|gif|jpg|svg|xml|mp4|webm|pdf|mp3|mov))
- url: /(.*\.ico)
static_files: src/content/en/images/\1
expiration: 7d
upload: src/content/en/images/(.*\.ico)
- url: /web/manifest.json
static_files: src/content/en/manifest.json
expiration: 1d
upload: src/content/en/manifest.json
- url: /web/(.*\.(js|css))
static_files: src/content/en/\1
expiration: 1d
upload: src/content/en/(.*\.(js|css))
http_headers:
Access-Control-Allow-Origin: https://developers.google.com
application_readable: true
- url: /web/(.*\.(woff|eot|ttf))
static_files: \1
expiration: 1d
upload: (.*\.(woff|eot|ttf))
http_headers:
Access-Control-Allow-Origin: https://developers.google.com
# This is simply a redirect from index to /web
- url: /(.*)
script: appengine_main.app
secure: always
skip_files:
- ^CONTRIBUTING\.md$
- ^README\.md$
- ^TRANSLATION\.md$
- ^gcloud-client-secret\.json.*
- ^gulpfile\.js$
- ^package\.json$
- ^gulp-tasks/.*
- ^node_modules/.*
- ^scratch/.*
- ^src/data/.*
- ^src/templates/.*
- ^src/tests/.*
- ^tools/.*
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.DS_Store$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?.*\.psd$
- ^(.*/)?.*\.pxm$
- ^(.*/)?.*\.pyc$
- ^(.*/)?.*\.sh$
- ^(.*/)?\..*$