How to configure nginx to use multiple apps (each in its own directory) dynamically so it routes properly?

Our users can install many apps on their system, so you would have directories like /crm where crm app is or /accounting, /wordpress etc. We do not know which apps users are going to install so we cannot manually add them all to config file. While this setup works fine with apache without any additional config, nginx fails as routes are not found. Any ideas are welcome


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


I think this can help you.