Skip to content

multiple vhosts port frps #5054

@Kirutian

Description

@Kirutian

Bug Description

Currently unable to add multiple vhostHTTPS ports

Nextcloud needs multiple ports from a domain to configure it properly. When I try to add multiple vhost ports, the server does not start.

frpc Version

0.65.0

frps Version

0.65.0

System Architecture

rocky9/linux/amd64

Configurations

frps.toml

bindPort = 7227
auth.token = "secret"
vhostHTTPPort = 80
vhostHTTPSPort = 443
vhostHTTPSPort = 8443

Logs

json: cannot unmarshal string into Go value of type v1.ServerConfig

Steps to reproduce

  1. Create toml file
  2. add more than a single vhostHTTPSPort definition
  3. attempt to start server
    ...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions