Files
sharing/Caddyfile
T
2025-08-25 16:49:04 -04:00

25 lines
398 B
Caddyfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
# were behind cloudflare tunnel; terminate tls there
auto_https off
}
:8550 {
# route by host header to each backend
@paste host {env.PASTE_DOMAIN}
handle @paste {
reverse_proxy privatebin:8080
}
@files host {env.FILES_DOMAIN}
handle @files {
reverse_proxy lufi:8081
}
@short host {env.SHORT_DOMAIN}
handle @short {
reverse_proxy shlink:8080
}
respond "not found" 404
}