12 lines
361 B
Caddyfile
12 lines
361 B
Caddyfile
# Generate an actual snippet with New-CaddySite.ps1, or replace SERVER_NIC_IPV4.
|
|
# Binding to a non-loopback NIC is required when the backend uses the same port.
|
|
https://BuddyDefense.xworld.ren:15888 {
|
|
bind SERVER_NIC_IPV4
|
|
reverse_proxy 127.0.0.1:15888 {
|
|
transport http {
|
|
read_timeout 0
|
|
write_timeout 0
|
|
}
|
|
}
|
|
}
|