Connection Server instances that are directly behind a gateway, such as Unified Access Gateway, must know the address by which browsers will connect to the gateway when users use HTML Access.
For Connection Server instances 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 Connection Server that is behind the gateway.
Procedure
- Create or edit the locked.properties file in the gateway configuration folder on the Connection 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
VMware Horizon through the gateway, add
portalHost=view-gateway.example.com to the
locked.properties file.
If the Connection Server instance is behind multiple gateways, you can specify each gateway by adding a number to the
portalHost property, for example:
portalHost.1=view-gateway-1.example.com
portalHost.2=view-gateway-2.example.com
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 to make your changes take effect.