-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
35 lines (29 loc) · 1 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
34
35
[[headers]]
for = "/wiki/*"
[headers.values]
Content-Type = "text/html; charset=utf8"
####################################################################
# See content-type/README for details on these
[[headers]]
for = "/content-type/lower/*"
[headers.values]
content-type = "text/html; charset=utf8"
[[headers]]
for = "/content-type/mixed/*"
[headers.values]
Content-type = "text/html; charset=utf8"
[[headers]]
for = "/content-type/upper/*"
[headers.values]
Content-Type = "text/html; charset=utf8"
####################################################################
# protected/
#
# Though the deploy summary says "All header rules deployed without
# errors," authentication isn't requested or required. Seems it only
# works on paid accounts, as documented here:
# https://www.netlify.com/blog/2017/04/07/selective-password-protection/
[[headers]]
for = "/protected/*"
[headers.values]
Basic-Auth = "user1:one user2:two"