Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
"http_proxy_domains":{  
    "demo.linksmart.eu":{  
        "sc":{  
             "local_address":"http://sc:8082",
             "translate_local_addresses":{  
                 "whitelist":[  
                     "*.linksmart.eu",
                     "iot-linksmart-melon.iot:8080"
                 ],
                 "url_translation_map": {
                     "tcp://192.168.98.100mosquitto:1883": "ssl://192demo.168linksmart.98.100eu:8883"
                 }
             }
        }
    }
}

This will obviously translate tcp://192.168.98.100mosquitto:1883 into ssl://192demo.168linksmart.100.eu:8883. For URLs configured in the translation map whitelisting is ignored.