-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
34 lines (31 loc) · 1.28 KB
/
netlify.toml
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
# BUILD Settings:
# ##############################################################################
[build]
command = ""
publish = "public"
functions = "netlify/functions"
edge_functions = "netlify/edge-functions"
# PLUGINS
# ##############################################################################
[[plugins]]
package = "netlify-plugin-vault-variables"
[plugins.inputs]
endpoint = 'https://vault.stanford.edu'
# Order doesn't matter here as these will be fetch asyncronously. Try not to have dupes.
secrets = ['secret/data/projects/uit-webservices/algolia']
# Set which environment variables to use for the approle login
secretId = 'VAULT_SECRET_ID'
roleId = 'VAULT_ROLE_ID'
# HEADERS
# ##############################################################################
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Content-Security-Policy = "form-action https:"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "origin-when-cross-origin"
Strict-Transport-Security = "max-age=2592000"
Permissions-Policy = "vibrate=(), geolocation=(self), midi=(), notifications=(), push=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), speaker=()"
X-Robots-Tag = "noindex, nofollow"
X-Frame-Options = "DENY"