What’s the issue?
Nowadays plenty of frontend code is being created using an [SSG] which is great. There a multiple ways of deploying such code and one of these is [Docker]. Typically everything is fine when you are deploying the frontend code using a root path such as
However that’s not to the liking of everyone as some people prefer to use a base uri such as
Unfortunately the latter option is often problematic especially in a [Docker] context as URLs need to be rewritten for this to work (there are plenty of varying possibilities depending on your actual deployment scenario). And it’s likely that this won’t even work properly. Let’s say you have a website with actual assets which means that the pages (the actual responses) of your app might contain stuff like this:
Read More