Created
August 30, 2016 20:58
-
-
Save groob/5bdd0de5e075d72ecdcaef440ae6195a to your computer and use it in GitHub Desktop.
I have a bunch of projects running on localhost(different ports). Here's a few, and a simple Caddyfile(caddy means automatic free https) proxies requests to those backends. Easy, cheap.
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
https://elmvids.groob.io:443 { | |
log stdout | |
prometheus | |
proxy / localhost:4001 | |
tls { | |
max_certs 10 | |
} | |
} | |
https://groob.io:443 { | |
log stdout | |
prometheus | |
proxy / localhost:8000 | |
tls { | |
max_certs 10 | |
} | |
} | |
https://micromdm.io:443 { | |
log stdout | |
prometheus | |
proxy / localhost:8002 | |
tls { | |
max_certs 10 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment