4 ms·
Terminating TLS for an HTTP app running on localhost is trivial. Something like this: echo "example.com \n reverse_proxy localhost:8000" > Caddyfile; docker ru
by NavinF 4y ago
Terminating TLS for an HTTP app running on localhost is trivial. Something like this:
echo "example.com \n reverse_proxy localhost:8000" > Caddyfile; docker run caddy --net host -v $PWD:/config caddy run
It's slightly more complicated if you need redundancy, but not by much.