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

June 29, 2018 1.2k views
Ubuntu 16.04 Nginx

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

1 Answer
Have another answer? Share your knowledge.