Created
July 25, 2016 19:17
-
-
Save mvalipour/ad8e60c1f64bf687dd32f88c6d944d15 to your computer and use it in GitHub Desktop.
Enable Custom Load-Balancer Probing on Azure Cloud Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <ServiceDefinition name="Cloud" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2015-04.2.6"> | |
| <LoadBalancerProbes> | |
| <LoadBalancerProbe name="healthcheck" path="/healthcheck" protocol="http" port="80" intervalInSeconds="30" timeoutInSeconds="61" /> | |
| </LoadBalancerProbes> | |
| <WebRole name="Web" vmsize="Large"> | |
| <Sites> | |
| <Site name="Web"> | |
| <Bindings> | |
| <Binding name="Endpoint1" endpointName="httpIn" /> | |
| <Binding name="Endpoint1" endpointName="httpsIn" /> | |
| </Bindings> | |
| </Site> | |
| </Sites> | |
| <Endpoints> | |
| <InputEndpoint name="httpIn" protocol="http" port="80" loadBalancerProbe="healthcheck" /> | |
| </Endpoints> | |
| </WebRole> | |
| </ServiceDefinition> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment