Closed RyderCragie closed 2 years ago
I am able to add 1 Reverse Proxy Hostname to Homebridge, but I would like to add 2. How can I do this please?
{ "bridge": { "name": "Homebridge B569", "username": "0E:7E:21:80:B5:69", "port": 51344, "pin": "209-15-365", "advertiser": "bonjour-hap" }, "accessories": [], "platforms": [ { "name": "Homebridge", "port": 80, "auth": "form", "theme": "auto", "tempUnits": "c", "lang": "auto", "loginWallpaper": "/Volumes/2 TB HDD/Other/Black.jpg", "proxyHost": "homebridge.rydercragie.com", "platform": "config" }, { "pruning": { "pruneMissingCachedAccessories": false, "restartsBeforeMissingAccessoriesPruned": 3, "pruneAllAccessoriesNextRestart": false }, "whiteEffects": { "simultaniousDevicesColorWhite": true, "colorWhiteThreshold": 10, "colorWhiteThresholdSimultaniousDevices": 50, "colorOffThresholdSimultaniousDevices": 5 }, "deviceManagement": { "blacklistOrWhitelist": "blacklist", "blacklistedUniqueIDs": [ "" ] }, "advancedOptions": { "periodicDiscovery": true, "namesWithMacAddress": false, "logLevel": 3 }, "platform": "homebridge-magichome-dynamic-platform" }, { "name": "TuyaWebPlatform", "options": { "username": "*censored*", "password": "*censored*", "countryCode": "44", "platform": "smart_life" }, "defaults": [ { "id": "03644406c44f33befe4f", "device_type": "light" }, { "id": "50842002b4e62d5730f4", "device_type": "fan" } ], "scenes": false, "platform": "TuyaWebPlatform" }, { "name": "SwitchBot", "credentials": { "openToken": "*censored*", "notice": "Keep your token a secret!" }, "options": { "devices": [ { "deviceId": "F32E8407CE18", "configDeviceType": "Bot", "ble": false, "customBLEaddress": "F32E8407CE18", "bot": { "mode": "switch" } } ] }, "platform": "SwitchBot" } ] }
hb-service
Pass through the originating "host" header in your reverse proxy configuration and it will do what needs to be done dynamically; without the need for the "proxyHost" config.
Current Situation
I am able to add 1 Reverse Proxy Hostname to Homebridge, but I would like to add 2. How can I do this please?
Configuration
Environment
Process Supervisor
hb-service