I\'m developing an ASP.NET Core application. My application hosted with NGinx on url http://somedomain.com/MyApplication
.
I need all requests routed to
If you are using MVC, you can try to change the default route format.
In Startup.cs
replace the line
app.UseMvc(routes => { routes.MapRoute(name: "default", template: "/{controller=Home}/{action=Index}/{id?}"); });
with this one:
app.UseMvc(routes => { routes.MapRoute(name: "default", template: "MyApplication/{controller=Home}/{action=Index}/{id?}"); });
Let me know if it's what you need