Allow not serving the toplevel domain
This commit is contained in:
parent
a90c68bf5e
commit
5ef2e14ae9
9 changed files with 60 additions and 17 deletions
|
|
@ -62,7 +62,7 @@ func (panel *UserPanel) sshRoute(ctx context.Context) http.Handler {
|
|||
return sc, err
|
||||
}
|
||||
|
||||
sc.Domain = panel.Config.HTTP.PrimaryDomain
|
||||
sc.Domain = panel.Config.HTTP.PublicTopDomain()
|
||||
sc.Port = panel.Config.Listen.SSHPort
|
||||
|
||||
// pick the first domain that the user has access to as an example
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue