A simple nginx container that redirects http requests to https.
This container can be used from the commandline, or using docker-compose.
docker run \
--name=redirector \
-p 32834:80 \
mattberther/https-redirect
version: '3'
services:
redirector:
image: mattberther/https-redirect
ports:
- "32834:80"