Last post Dec 16, 2019 06:53 AM by Rena Ni
Dec 14, 2019 10:20 PM|kbi753|LINK
I want to build an asp.net core application in a docker container hosted in kubernetes.
My application works perfectly on my machine at url
http://localhost:12345/ but, in my kubernetes cluster the path has to be
www.my-domain.com/path-of-my-application/ as the domain is shared with an existing application.
The only solution I have is to create a sub domain like
http://my-new-app.my-domain.com/ but this creates some problems and I would really prefer to find a way to reconfigure the root path of this new application.
I already tried this but it does not seems to work :
but when I call @Url.Content("~") in a view the values is still "/" instead "/path-of-my-application"
Dec 16, 2019 06:53 AM|Rena Ni|LINK
How do you write the launchsetting.json and dockerfile?Could you share them without revealing privacy?