Last active
August 29, 2015 14:04
-
-
Save freshlogic/c2b3de000229a1b05221 to your computer and use it in GitHub Desktop.
ServiceDefinition.csdef
This file contains 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" encoding="utf-8"?> | |
<ServiceDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="example-com" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition"> | |
<WebRole name="WebRole" vmsize="Small"> | |
<Certificates> | |
<Certificate name="example-com" storeLocation="LocalMachine" storeName="CA" /> | |
</Certificates> | |
<Imports /> | |
<Startup> | |
<Task commandLine="setup_web.cmd > log.txt" executionContext="elevated"> | |
<Environment> | |
<Variable name="EMULATED"> | |
<RoleInstanceValue xpath="/RoleEnvironment/Deployment/@emulated" /> | |
</Variable> | |
<Variable name="RUNTIMEID" value="node;iisnode" /> | |
<Variable name="RUNTIMEURL" value="" /> | |
</Environment> | |
</Task> | |
<Task commandLine="alwaysRunning.cmd" executionContext="elevated" /> | |
<Task commandLine="idleTimeout.cmd" executionContext="elevated" /> | |
<Task commandLine="web-ip-security.cmd" executionContext="elevated" /> | |
</Startup> | |
<Endpoints> | |
<InputEndpoint name="http" protocol="http" port="80" /> | |
<InputEndpoint name="https" protocol="https" port="443" certificate="example-com" /> | |
</Endpoints> | |
<Sites> | |
<Site name="example-com"> | |
<Bindings> | |
<Binding name="http" endpointName="http" /> | |
<Binding name="https" endpointName="https" /> | |
</Bindings> | |
</Site> | |
</Sites> | |
</WebRole> | |
</ServiceDefinition> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment