1[Unit] 2Description=Redirect HTTP to HTTPS socket 3 4[Socket] 5ListenStream=80 6Accept=yes 7 8[Install] 9WantedBy=sockets.target 10