Question
How to setup sub-domain with nginx based on Angular app uri
This is my url: https://front.example.net/#/dashboard/partners/partner/{partner_name}/orders/list
I would like to setup subdomain for every {partner_name} via Nginx.
For example, instead of: https://front.example.net/#/dashboard/partners/partner/google/orders/list I want something like this: https://google.example.net/orders/list
Thank you!
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.
×