Secure on domain.com, but not on domain.com:8090

So the issued SSL works fine on my website domain.com. But when I go to domain.com:8090 to enter cyberpanel it says that it is not secure. What am I missing?

coz it will be an independent host

solution :
create subdomain cyber.domain.com
and use reverce proxy to access port 8090

extprocessor cyberport {
  type                    proxy
  address                 127.0.0.1:8090
  maxConns                100
  pcKeepAliveTimeout      60
  initTimeout             60
  retryTimeout            0
  respBuffer              0
}

Use Rewrite Rules to Proxy traffic to your 8090 port

You can now use rewrite rules to proxy traffic to your container, now edit rewrite rules for the domain you choose in Step 1 using the rewrite rule guide . You can use these rules:

REWRITERULE ^(.*)$ HTTP://cyberport/$1 [P]

now you can access cyberpanel on subdomain with ssl

2 Likes

Thank you!