Hi yall!
Maybe I'm dumb but i can't seem to figure this out. I've got 3 react apps - shell, admin and store - and i'm needing to arrange admin and store as sub-routes of shell like so:
/ (shell)
└ /admin (admin)
└ /store (store)
i can get shell to work fine, but for admin and store their index.html is referencing just "main.js" for their script files. This ends up requesting /main.js (the shell's main.js) rather than /admin/main.js. How can i setup the subroutes to correctly return the files relative to the requesting file rather than the root?
i attached my current nginx.conf
Thanks in advance!