A cleaner way might be with iptables; I've done this on a cPanel server before:
nano /etc/sysconfig/iptables
Add:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
-A INPUT ! -i lo -p tcp -m conntrack --ctstate NEW -m tcp --dport 8080 -j ACCEPT
COMMIT
-A PREROUTING -p tcp --dport 8080 -j REDIRECT --to-ports 80
COMMIT
Then save & restart:
iptables-save
systemctl restart iptables