Step 1 : Go through the Wizard ( UAG SP1 update 1) to publish Lync Web Services.
Make sure that HTTPS trunk is provisioned with a certificate containing all the public host names.
Step 2: Publish your Lyncdiscover service ( for mobility )
From the portal site click on "Add" on Applications,
Step 3 : Change Trunk Settings