It's not specific to web2py, but may help you maybe :

http://stackoverflow.com/questions/11773544/nginx-different-domains-on-same-ip

The idea is to create a other server in nginx...

Richard


On Mon, Mar 18, 2013 at 4:21 PM, Tito Garrido <[email protected]> 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.
>
>
>

-- 

--- 
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.


Reply via email to