[web2py] Re: MULTIPLE APPLICATIONS IN SAME HOST/SUBDOMAINS WITH NGINX

2017-02-07 Thread Ivan Gazzola
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

Re: [web2py] Re: MULTIPLE APPLICATIONS IN SAME HOST/SUBDOMAINS WITH NGINX

2017-02-07 Thread Áureo Dias Neto
i'm using a fix ip, and the syntax: 'domain.com/app1':'app1', 'domain.com /app2':'app2', the app1 work great, but app2 return invalid controller sometimes 2017-02-07 6:36 GMT-02:00 Ivan Gazzola : > Just edit the routes.py file > I'm using sub-domains and a file like