-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
55 lines (44 loc) · 1019 Bytes
/
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
[build]
publish = "public"
[[headers]]
for = "/*"
[headers.values]
X-X = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin"
# Sensible redirects...
[[redirects]]
from = "/index.html"
to = "/"
status = 301
[[redirects]]
from = "/index.xml"
to = "/"
status = 301
# Redirects for the script kiddies...
[[redirects]]
from = "/wp-login.php"
to = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
status = 303
[[redirects]]
from = "/wp-admin/*"
to = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
status = 303
[[redirects]]
from = "/xmlrpc.php"
to = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
status = 303
[[redirects]]
from = "/wp/*"
to = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
status = 303
[[redirects]]
from = "/wordpress/*"
to = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
status = 303
[[redirects]]
from = "/.env"
to = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
status = 303