trex demo: https works