Created
January 1, 2024 12:03
-
-
Save tshipenchko/78c17657836d3b6407cda66ba958dd5a to your computer and use it in GitHub Desktop.
LFH caddy
This file contains 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
*.8197cb8c.nip.io { | |
tls internal | |
@portNum header_regexp "Host" ([0-9]+)\.8197cb8c\.nip\.io | |
handle @portNum { | |
reverse_proxy localhost:{http.regexp.1} | |
} | |
handle { | |
respond "bad port" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment