-
Notifications
You must be signed in to change notification settings - Fork 91
/
app.yaml
55 lines (47 loc) · 1.24 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
# Copyright 2017 The WPT Dashboard Project. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
runtime: go122
instance_class: F4_1G
inbound_services:
- warmup
default_expiration: "1d"
vpc_access_connector:
name: projects/wptdashboard/locations/us-central1/connectors/appengine-connector
env_variables:
REDISHOST: "10.171.142.203"
REDISPORT: "6379"
# Also refer to dispatch.yaml for higher-priority routing rules.
handlers:
# Special dynamic components:
- url: /dynamic-components/wpt-env-flags.js
script: auto
secure: always
- url: /node_modules/.*
script: auto
secure: always
# Static files:
- url: /static
static_dir: webapp/static
secure: always
- url: /favicon.ico
static_files: webapp/static/favicon.ico
upload: webapp/static/favicon.ico
secure: always
- url: /robots.txt
static_files: webapp/static/robots.txt
upload: webapp/static/robots.txt
secure: always
# Static files that change often (i.e. our own code).
- url: /components
static_dir: webapp/components
expiration: 10m
secure: always
- url: /views
static_dir: webapp/views
expiration: 10m
secure: always
# Everything else (templates & APIs):
- url: /.*
script: auto
secure: always