I need to host multiple apps in the same server under different subdirectories, for example http://myserver/myfirstapp and http://myserver/mysecondapp.
I tried to set up nginx with multiple locations, but request from browser can't seem to reach the app (404). It seems like the app works only if put on root (location /).
Need guidance on how to set up multiple apps in subdirectories with nginx.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
I need to host multiple apps in the same server under different subdirectories, for example http://myserver/myfirstapp and http://myserver/mysecondapp.
I tried to set up nginx with multiple locations, but request from browser can't seem to reach the app (404). It seems like the app works only if put on root (location /).
Need guidance on how to set up multiple apps in subdirectories with nginx.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.