Question

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

Posted June 29, 2018 2.3k views
NginxUbuntu 16.04

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

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.

×
1 answer
Submit an Answer