Forum: NGINX multiple docroot

Posted by ron ramos (Guest)
on 2013-03-11 10:52
(Received via mailing list)
Hi All,

Is it possible to have multiple docroot for a single domain? and will 
load
different docroot based on condition?

our developers are currently developing our application but based on a 
new
framework. so they would like to be able to have the legacy framework 
and
the new framework to co-exists to ensure that the app will have less 
error
when new framework is launched.

one sample condition is mobile, if nginx detects that it is user-agent 
is
from mobile it will use legacy if not use new framework.
that is just one condition, we will have other conditions as well.

is it possible on nginx?

Regards,
Ron
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.