Skip to content

Instantly share code, notes, and snippets.

View titanlien's full-sized avatar

Maohsiang @github titanlien

View GitHub Profile

Keybase proof

I hereby claim:

  • I am titanlien on github.
  • I am mhlien (https://keybase.io/mhlien) on keybase.
  • I have a public key ASDRGz98ttWRKhZhS0-FZ-P_6Z528i-hQIK2tcZdvKB0OAo

To claim this, I am signing this object:

Part 1 - Docker and common architectures

Write a docker-compose file to simulate load balancer TLS termination. You can use dockerfiles that you wrote yourself or just pull directly from Docker hub.

Architecture:

  • nginx container with TLS certificates, serving on https.
  • hello world backend in the language of your choice, serving on http.

Please take security into account.