Just edit the routes.py file
I'm using sub-domains and a file like this:

# -*- coding: utf-8 -*-

routers = dict(

        BASE  = dict(

                default_application="site1",

                domains= {

                        'domain.com':'site1',

                        'app.domain.com':'app',

                        'app2.domain.com':'app2',
                         ....

                        }
))

l codice...



Il giorno lunedì 6 febbraio 2017 13:39:03 UTC+1, Áureo Dias Neto ha scritto:
>
> Hello guys,
>
> how i'm host more than one application, in the same server, with 
> sub-domains on nginx?
>
> example: http://192.168.1.13/app1 -> 'app1'
> http://192.168.1.13/app2 -> 'app2'
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to