I configured my routers to have a chain middleware that consists of a redirectscheme middleware and a headers middleware (that contains a strict-transport-security header).
Upon visiting an http page, I am not automatically redirected to the https version as I should be.
Here are the links to my relevant traefik configs:
docker-compose with configuration labels for an example service:
Output of curl on http and https pages:
root@sapling:/opt/traefik# curl -I http://nerdsin.space
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Fri, 07 Feb 2020 04:53:04 GMT
Content-Length: 19
root@sapling:/opt/traefik# curl -I https://nerdsin.space
HTTP/2 200
accept-ranges: bytes
content-type: text/html
date: Fri, 07 Feb 2020 04:53:09 GMT
etag: "5e2ed12f-1123"
last-modified: Mon, 27 Jan 2020 12:01:51 GMT
server: nginx
strict-transport-security: max-age=315360000; includeSubDomains; preload
content-length: 4387
Screenshot of dashboard: