Comment on nginx reverse proxy using subpaths help

<- View Parent
SpaceCadet@sopuli.xyz ⁨8⁩ ⁨months⁩ ago

Hmm no, that’s not really it… that’s more so that you don’t pass URLs starting with /app1/ onwards to the application, which would not be aware of that subpath.

I think I need something that intercepts the content being served to the client, and inserts /app1/ into all hardcoded absolute paths.

For example, let’s say on app1’s root I have an index.html that says:

It should be dynamically served as:

source
Sort:hotnewtop