This commit is contained in:
@@ -19,8 +19,8 @@ namespace contact
|
|||||||
|
|
||||||
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
||||||
WebHost.CreateDefaultBuilder(args)
|
WebHost.CreateDefaultBuilder(args)
|
||||||
//.UseUrls("http://*:3002")
|
.UseUrls("http://*:3002")//only this port works with nginx proxy
|
||||||
.UseUrls("http://localhost:3002")
|
//.UseUrls("http://localhost:3002")//this doesn't work with nginx proxy
|
||||||
.UseStartup<Startup>();
|
.UseStartup<Startup>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user