Nginx as reverse proxy with acme (letsencrypt)

From Alpine Linux

Introduction

This setup will allow you to have multiple servers/containers be accessible via a single IP address with the added benefit of centralized generation of letsencrypt certificates.

For this howto we need two tools, nginx and acme-client. lets install them.

apk add nginx acme-client