-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathCaddyfile
More file actions
57 lines (50 loc) · 1.11 KB
/
Copy pathCaddyfile
File metadata and controls
57 lines (50 loc) · 1.11 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
48
49
50
51
52
53
54
55
56
57
back.notblox.online {
encode zstd gzip
# Two-token matcher (/slug + /slug/*, NOT /slug* — that'd catch /slugfoo) + strip_prefix
@test path /test /test/*
handle @test {
uri strip_prefix /test
reverse_proxy game_test_server:8001 {
flush_interval -1
stream_timeout 24h
stream_close_delay 5m
header_up X-Real-IP {client_ip}
}
}
@obby path /obby /obby/*
handle @obby {
uri strip_prefix /obby
reverse_proxy game_obby_parkour:8001 {
flush_interval -1
stream_timeout 24h
stream_close_delay 5m
header_up X-Real-IP {client_ip}
}
}
@football path /football /football/*
handle @football {
uri strip_prefix /football
reverse_proxy game_football:8001 {
flush_interval -1
stream_timeout 24h
stream_close_delay 5m
header_up X-Real-IP {client_ip}
}
}
@pet path /pet-simulator /pet-simulator/*
handle @pet {
uri strip_prefix /pet-simulator
reverse_proxy game_pet_simulator:8001 {
flush_interval -1
stream_timeout 24h
stream_close_delay 5m
header_up X-Real-IP {client_ip}
}
}
respond /* "Not Found" 404
log {
output stdout
format console
level INFO
}
}