Test base_path
This commit is contained in:
parent
17395497e5
commit
89cbbb43f7
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>spring2/rabbitmq</ImageName>
|
<ImageName>spring2/rabbitmq:3.6.10</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>microsoft/mssql-server-windows-developer</ImageName>
|
<ImageName>microsoft/mssql-server-windows-developer:2016-sp1-windowsservercore-10.0.14393.1480</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
|
@ -20,6 +20,6 @@
|
|||||||
AzureActiveDirectory="true"
|
AzureActiveDirectory="true"
|
||||||
ServerCertThumbprint="0123456789012345678901234567890123456789" />
|
ServerCertThumbprint="0123456789012345678901234567890123456789" />
|
||||||
-->
|
-->
|
||||||
<ClusterConnectionParameters ConnectionEndpoint="" />
|
<ClusterConnectionParameters ConnectionEndpoint="eshopsfwin.westeurope.cloudapp.azure.com:19000" />
|
||||||
<ApplicationParameterFile Path="..\ApplicationParameters\Cloud.xml" />
|
<ApplicationParameterFile Path="..\ApplicationParameters\Cloud.xml" />
|
||||||
</PublishProfile>
|
</PublishProfile>
|
@ -124,8 +124,10 @@ namespace Microsoft.eShopOnContainers.WebMVC
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(Configuration["PATH_BASE"]))
|
var pathBase = Configuration["PATH_BASE"];
|
||||||
|
if (!string.IsNullOrEmpty(pathBase))
|
||||||
{
|
{
|
||||||
|
loggerFactory.CreateLogger("init").LogDebug($"Using PATH BASE '{pathBase}'");
|
||||||
app.UsePathBase(Configuration["PATH_BASE"]);
|
app.UsePathBase(Configuration["PATH_BASE"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user