SynologyOpenSource / ExamplePackages

29 stars 8 forks source link

How to configure a server with hostname instead of an alias ? #2

Open vletroye opened 2 years ago

vletroye commented 2 years ago

Hello.

Starting from your sample, I could easily create a "server" instead of an "alias", using this:

    "portals": [{
        "service": "myapplication",
        "type": "server",
        "name": "myapplication",
        "display_name": "MyApplication",
        "app": "com.mycompany.app",
        "http_port": [9000],
        "https_port": [9001]
    }]

Now, I would like to create a server with an 'hostname' but I can't find the "key" to be added into the "portals" array for that purpose (nothing in the documentation ?!).

Do you have an idea ?