To allow LoadMaster to request web services that are deployed behind the Gateway-VAs in Horizon Workspace 1.0, the following change must be made:

  1. SSH into each gateway-VA with the sshuser and su to root.
  2. Edit /opt/vmware/nginx/conf/nginx.conf using VI, or another screen editor.
  3. Find the section of the file that reads similar to the following:
    Note: real_ip_headerX-Forwarded-For; real_ip_recursive off;include gen/real_ip.conf;
  4. Below the line that reads include gen/real_ip.conf; add a line - set_real_ip_from <LoadMaster IP Address> as shown in the example below:
    Note: real_ip_headerX-Forwarded-For; real_ip_recursive off;include gen/real_ip.conf; set_real_ip_from 172.16.5.100
  5. Commit the changes that have just been made and restart the nginx service:
    1. If using VI to edit the file, type ZZ or :wq!.
    2. To restart the nginx service type service nginx restart.