Connection Server instances and security servers that are directly behind a gateway, such as Access Point, must know the address by which browsers will connect to the gateway when users use HTML Access.
For Connection Server instances and security servers that are behind a load-balancer or load-balanced gateway, perform the procedure described in Allow HTML Access Through a Load Balancer.
You must perform this procedure for each Horizon 7 server that is behind the gateway.
- Create or edit the locked.properties file in the SSL gateway configuration folder on the Connection Server or security server host.
For example: install_directory\VMware\VMware View\Server\sslgateway\conf\locked.properties
- Add the portalHost property and set it to the address of the gateway.
For example, if https://view-gateway.example.com is the address that browsers use to access Horizon 7 through the gateway, add portalHost=view-gateway.example.com to the locked.properties file.If the Connection Server instance or security server is behind multiple gateways, you can specify each gateway by adding a number to the portalHost property, for example:
You must also specify multiple portalHost properties if a single gateway machine is known by more than one name.
- Save the locked.properties file.
- Restart the Connection Server service or security server service to make your changes take effect.