How to setup sub-domain with nginx based on Angular app uri

September 19, 2017 1.1k views
Nginx Ubuntu 16.04

This is my url:{partner_name}/orders/list

I would like to setup subdomain for every {partner_name} via Nginx.

For example, instead of: I want something like this:

Thank you!

Be the first one to answer this question.