-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml.dist
44 lines (41 loc) · 1.21 KB
/
app.yaml.dist
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
runtime: php82
# default is `public/index.php` or `index.php`
entrypoint: serve web/index.php
handlers:
- url: /robots.txt
static_files: web/robots.txt
upload: web/robots.txt
secure: always
- url: /favicon.ico
static_files: web/favicon.ico
upload: web/favicon.ico
secure: always
- url: /assets
static_dir: web/assets
secure: always
http_headers:
Content-Security-Policy: "default-src 'self'; object-src 'none'; require-trusted-types-for 'script'; frame-ancestors 'self'"
Strict-Transport-Security: "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: "1; mode=block"
- url: /build
static_dir: web/build
secure: always
http_headers:
Content-Security-Policy: "default-src 'self'; object-src 'none'; require-trusted-types-for 'script'; frame-ancestors 'self'"
Strict-Transport-Security: "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: "1; mode=block"
- url: /cron/.*
script: auto
secure: always
- url: /timeout
script: auto
secure: always
- url: /.*
script: auto
secure: always
env_variables:
PMI_ENV: 'dev'