forked from sffxzzp/ASFcn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Caddyfile
51 lines (46 loc) · 1.35 KB
/
Caddyfile
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
{
local_certs
ocsp_stapling off
pki {
ca {
# only available after caddy v2.6.3
intermediate_lifetime 1800d
}
}
}
(sign) {
tls {
issuer internal {
# more than 1 year may cause some problems
lifetime 360d
}
# on_demand
}
}
(rev) {
lb_policy round_robin
transport http {
tls
tls_insecure_skip_verify
}
}
https://steamcommunity.com, https://www.steamcommunity.com, https://cdn.steamcommunity.com, https://store.steampowered.com, https://api.steampowered.com {
import sign
reverse_proxy * https://s.team https://steamuserimages-a.akamaihd.net https://steamstore-a.akamaihd.net https://steamcommunity-a.akamaihd.net https://steampipe.akamaized.net https://eaassets-a.akamaihd.net {
import rev
fail_duration 10s
health_timeout 30s
}
}
https://*.github.com, https://github.io, https://*.github.io, https://githubusercontent.com, https://*.githubusercontent.com {
import sign
reverse_proxy * https://github.map.fastly.net {
import rev
}
}
https://gist.github.com https://github.com {
import sign
reverse_proxy * https://140.82.113.3 https://140.82.113.4 https://20.205.243.166 https://20.27.177.113 {
import rev
}
}