forked from CodeursEnSeine/codeursenseine.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
61 lines (52 loc) · 1.24 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[[redirects]]
force = true
from = "/2013*"
status = 301
to = "https://archive-201x.codeursenseine.com/2013/:splat"
[[redirects]]
force = true
from = "/2014*"
status = 301
to = "https://archive-201x.codeursenseine.com/2014/:splat"
[[redirects]]
force = true
from = "/2015*"
status = 301
to = "https://archive-201x.codeursenseine.com/2015/:splat"
[[redirects]]
force = true
from = "/2016*"
status = 301
to = "https://archive-201x.codeursenseine.com/2016/:splat"
[[redirects]]
force = true
from = "/2017*"
status = 301
to = "https://archive-201x.codeursenseine.com/2017/:splat"
[[redirects]]
force = true
from = "/2018*"
status = 301
to = "https://archive-201x.codeursenseine.com/2018/:splat"
[[redirects]]
force = true
from = "/2019*"
status = 301
to = "https://archive-201x.codeursenseine.com/2019/:splat"
[[redirects]]
force = true
from = "/2020*"
status = 301
to = "https://archives-codeurs-en-seine.netlify.app/archive-2020/2020/:splat"
[[redirects]]
force = true
from = "/2021*"
status = 301
to = "https://archives-codeurs-en-seine.netlify.app/archive-2021/2021/:splat"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "frame-ancestors 'none'"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"