You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
marco 718fc3922e Remove year from license 4 months ago
.gitignore Fix path 4 months ago Remove year from license 4 months ago
Makefile Hard-code testing target host 4 months ago Add clarification 4 months ago
go.mod Upgrade to v0.6.0 4 months ago
go.sum Upgrade to v0.6.0 4 months ago
server.go Improve log formatting, syntax and order. Require TLS 1.2 when acting as a server 4 months ago
server_test.go Only test received headers when it is required, improve syntax 4 months ago

SDF Home Proxy

An http server to which one or more domains can be pointed to. Incoming requests will be proxied to an arbitrary target http server, like Amazon S3, or one of the many options available at

The main goal is to serve content for a domain via a server which requires no configuration, handles TLS and can run on mostly any host on the internet with an IP address in one's possession. Obviously this solution is an end in itself and there already is Caddy.

Thanks to, the server will automatically attempt to get a certificate from Let's Encrypt via the HTTP-01 challenge to enable TLS.


$ make build
$ export
$ export,
$ export
$ ./server

Future Ideas

  • Support for rewriting URL paths
  • Configuration option to keep keys and TLS certificates in memory only
  • Support for cgi-bin and/or FastCGI
  • Support for translating between protocols other than http for target servers
  • Support for logging and rudimentary analytics