Allow nginx to run with published apps
This commit is contained in:
parent
d3bc744b3a
commit
90510f5138
|
|
@ -30,6 +30,11 @@ namespace Microsoft.AspNetCore.Server.Testing
|
||||||
|
|
||||||
var redirectUri = $"http://localhost:{TestUriHelper.FindFreePort()}";
|
var redirectUri = $"http://localhost:{TestUriHelper.FindFreePort()}";
|
||||||
|
|
||||||
|
if (DeploymentParameters.PublishApplicationBeforeDeployment)
|
||||||
|
{
|
||||||
|
DotnetPublish();
|
||||||
|
}
|
||||||
|
|
||||||
var exitToken = StartSelfHost(new Uri(redirectUri));
|
var exitToken = StartSelfHost(new Uri(redirectUri));
|
||||||
|
|
||||||
SetupNginx(redirectUri, uri);
|
SetupNginx(redirectUri, uri);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue