Yes you can. From the point of nginx treat all domains as one. the use web2py routes.py to map different domains to different apps.
On Monday, 18 March 2013 15:21:25 UTC-5, Tito Garrido wrote: > > Hi Folks, > > I am reading the book section: > http://web2py.com/books/default/chapter/29/13#Nginx > > But I couldn't figure out how could I setup nginx to serve multiple > domains pointing to a different application on the same web2py instance. > > Do you have any example? > > like: > mydomain1 -> /home/www-data/web2py/applications/myapp1 > > mydomain2 -> /home/www-data/web2py/applications/myapp2 > > > Thanks, > > Tito > > > -- > > Linux User #387870 > .........____ > .... _/_õ|__| > ..º[ .-.___.-._| . . . . > .__( o)__( o).:_______ > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

