Use ember app as sub url or sub domain


#1

I am a new to ember js and I’d like to come up with a very simple app to:

A) serve at a sub url leve or www.mydomain.com/mysuperemberapp/post/new
mysuperemberapp -> root url of the ember app

other urls are served from backend, eg: rails/django/nodejs server etc
 www.mydomain.com/section2/*

B) subdomain mysuperemberapp.mydomain.com/post/new

I would assume the case B could be as simple as configure a nginx to do the job, but what about A) ? will it work if the ember app is mapped as sub dir/url?

saw a topic about it using root_url: https://guides.emberjs.com/v1.10.0/routing/ , but the link disappeared in higher version of the docs.

Can you advice?

Thanks


#2

Do something like this for A