forked from mukaiu/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCaddyfile
More file actions
47 lines (41 loc) · 1.17 KB
/
Caddyfile
File metadata and controls
47 lines (41 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
40
41
42
43
44
45
46
47
:2015
root site/
ext .html
templates
errors error.log {
404 404.html
502 502.html
}
log
redir 307 {
/account /account/dashboard
/login /account/login
}
redir /blog.html /blog/
status 404 {
/includes
/docs/_plugin.html
/404.html
/502.html
}
proxy /docs localhost:2016
proxy /api localhost:2016
proxy /account localhost:2016
proxy /download/ localhost:2016
proxy /tx localhost:5051
push /docs/mitm-detection /resources/css/mitm.css
push /docs/mitm-detection /resources/js/mitm.js
push /docs/mitm-detection /resources/mitm.html
header / {
Content-Security-Policy "style-src 'self' https://fonts.googleapis.com;
script-src 'self' data: https://www.google-analytics.com https://checkout.stripe.com;
img-src 'self' data: https:;
font-src 'self' data: https: blob:;
media-src 'self' https:;
connect-src 'self' https:;
object-src 'none';"
X-Frame-Options SAMEORIGIN
X-Content-Type-Options nosniff
X-XSS-Protection "1; mode=block"
Referrer-Policy no-referrer-when-downgrade
}