forked from Synthetixio/staking
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustomHttp.yml
More file actions
39 lines (35 loc) · 1.17 KB
/
customHttp.yml
File metadata and controls
39 lines (35 loc) · 1.17 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
customHeaders:
- pattern: '**/*'
headers:
- key: 'Strict-Transport-Security'
value: 'max-age=31536000; includeSubDomains; preload'
- key: 'X-Frame-Options'
value: 'SAMEORIGIN'
- key: 'X-XSS-Protection'
value: '1; mode=block'
- key: 'X-Content-Type-Options'
value: 'nosniff'
- key: 'Content-Security-Policy'
value: "frame-ancestors https://gnosis-safe.io"
- key: 'Access-Control-Allow-Origin'
value: '*'
- key: 'Access-Control-Allow-Headers'
value: '*'
- key: 'Access-Control-Allow-Methods'
value: 'GET,POST,OPTIONS'
- pattern: '/_next/static/**/*'
headers:
- key: 'Cache-Control'
value: 'public, max-age=31536000, immutable'
- pattern: '/_next/static/**/*'
headers:
- key: 'Cache-Control'
value: 'public, max-age=31536000, immutable'
- pattern: '/images/*.{ico,png,jpg,webp,svg,gif}'
headers:
- key: 'Cache-Control'
value: 'public, max-age=2592000, immutable'
- pattern: '/fonts/*.{eot,otf,ttf,ttc,woff,woff2,font}'
headers:
- key: 'Cache-Control'
value: 'public, max-age=2592000, immutable'