This is a simple GO lang program to redirect the HTTP connections from port 80 to HTTPS into port 443.
# Control whether service loads on boot
systemctl enable httpredirect
# Manual start and stop
systemctl start httpredirect
systemctl stop httpredirect
# Restarting/reloading
systemctl daemon-reload # Run if .service file has changed
systemctl restart