Created
January 8, 2021 13:06
-
-
Save fwartner/4c497bac373f2a8506e4cafbbc4a1019 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
on_demand_tls { | |
ask https://servr.app/api/validate | |
} | |
} | |
http { | |
redir http:// https://{host}{uri} | |
} | |
tls [email protected] { | |
on_demand | |
} | |
reverse_proxy https://status.uptimemate.com { | |
header_up Host status.uptimemate.com | |
header_up X-Real-IP {remote} | |
header_up X-Forwarded-For {remote} | |
header_up Servr-Custom-Domain {host} | |
header_up X-Forwarded-Port {server_port} | |
header_up X-Forwarded-Proto {scheme} | |
health_timeout 5s | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment