CyberPanel Community

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

2 replies
fl
fluxx #2

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

Sign in to reply