Securing a port with ssl

Hello, before anyone goes native on me i am after a quick solution.
How do i add ssl to a port 8080 in virtualmin, i tried few times and cost me a reinstall.
im running a Ubuntu fully up to date virtualmin up do date as of today.
thank you

SYSTEM INFORMATION
Ubuntu 20.04.4
Webmin version 1.994
Virtualmin version 7.1-1Pro
Related packages SUGGESTED

Do you want Webmin run on port 8080 instead of 10000?

no, i was trying to setup speedtest server

You need to tell us more about what you’re trying to do exactly and what have you tried already?

How do i add ssl to a port 8080 in virtualmin, i tried few times and cost me a reinstall.

Provide more details, this question yet doesn’t make sense.

Maybe your using Cloudflare or some other CDN? Ports shouldn’t make any difference to the SSL, its the url they use.

Steve

bro, how do you set up ssl for a port 8080 in virtualmin for a subdomain.

You can do it in NGINX.

server {
	server_name example.org www.example.org;
	listen 93.184.216.34:8080 ssl;
	listen [2606:2800:220:1:248:1893:25c8:1946]:8080 ssl;
	ssl_certificate /home/example/ssl.combined;
	ssl_certificate_key /home/example/ssl.key;
    root /home/example/public_html;
...

thank you Sir, how about on Apache 2?
Much appreciated friend!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.