My ubuntu server has multiple services running on different ports(not 80 or 443).. What I want is if the server receives traffic on any of these services to make the traffic HTTPS instead of HTTP. How can i achieve this on the application layer level and not using a firewall rule?
I tried using a reverse proxy, but only one service worked.