aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/app.yaml
blob: 04e3941f7aaf7401d9cb4fe4d41772902615344b (plain)
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
# Copyright 2017 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

runtime: go124
app_engine_apis: true

# With the f2 setting, the app episodically crashes with:
# Exceeded soft memory limit of 256 MB with 264 MB after servicing X requests total.
# See https://cloud.google.com/appengine/docs/standard/go/config/appref#instance_class
instance_class: f4

inbound_services:
- mail
- mail_bounce

handlers:
- url: /favicon.ico
  static_files: dashboard/app/static/favicon.ico
  upload: dashboard/app/static/favicon.ico
  secure: always
- url: /robots.txt
  static_files: dashboard/app/static/robots.txt
  upload: dashboard/app/static/robots.txt
  secure: always
- url: /static
  static_dir: dashboard/app/static
  secure: always
# debug is for net/http/pprof handlers.
- url: /(admin|debug|cron/.*)
  script: auto
  login: admin
  secure: always
- url: /_ah/(mail/.+|bounce)
  script: auto
  login: admin
- url: /(|api|bug|text|x/.+|.*)
  script: auto
  secure: always