fullstackhero / blazor-starter-kit

Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
MIT License
3.45k stars 726 forks source link

Behind Proxy/Ingress with different base path #345

Open R-Lamberson opened 2 years ago

R-Lamberson commented 2 years ago

I am attempting to deploy the blazor hero app in a container and have it behind an nginx ingress/proxy. The one item that is unusual is that the nginx proxy endpoint is shared and therefore I am trying to configure a non root base path for the client and server app to respond on.

I haved changed the client base href in the index.html to be the new path and that works for the initial loadup of components however it seems that something is overriding that within other parts of the application

Is there any documentation for the configurations that would need to be made to have the application run on a different basepath on the client and server? Is it possible?