-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
50 lines (50 loc) · 1.77 KB
/
render.yaml
File metadata and controls
50 lines (50 loc) · 1.77 KB
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
services:
- type: web
name: bufferring-org-website
runtime: static
buildCommand: npm install && npm run build
staticPublishPath: dist
headers:
- path: /*
name: Content-Security-Policy
value: >-
default-src 'self'; base-uri 'self'; connect-src 'self' https://api.github.com
https://raw.githubusercontent.com https://formsubmit.co; font-src 'self' https://fonts.gstatic.com data:;
form-action 'self'; frame-ancestors 'none'; img-src 'self' data: https: blob:;
manifest-src 'self'; media-src 'self'; object-src 'none'; script-src 'self';
script-src-elem 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;
worker-src 'self'; upgrade-insecure-requests
- path: /*
name: Strict-Transport-Security
value: max-age=31536000; includeSubDomains; preload
- path: /*
name: Referrer-Policy
value: strict-origin-when-cross-origin
- path: /*
name: X-Frame-Options
value: DENY
- path: /*
name: X-Content-Type-Options
value: nosniff
- path: /*
name: Permissions-Policy
value: accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()
- path: /*
name: Cross-Origin-Resource-Policy
value: same-origin
- path: /*
name: Cross-Origin-Opener-Policy
value: same-origin
- path: /*
name: Cross-Origin-Embedder-Policy
value: credentialless
routes:
- type: rewrite
source: /projects
destination: /index.html
- type: rewrite
source: /contact
destination: /index.html
- type: rewrite
source: /*
destination: /index.html