Hello,
I ran into small problem.
I have web2py 2.08 running nginx + postgres.
I configured routes using parametric system.
In routes.py I defined domains and assigned admin to seperate domain.
By domain i mean actually subdomains...
test.app.com -> testing environment using seperate db
app.com -> official thing
admin.app.com -> admin for both apps and any other that may comeby....
Problem is:
Now I cannot access appadmin. (I have no uwsgi_log... just gateway timed
out and have to restart server).
My routes.py
routers = dict(
BASE = dict(
domains = {
'myapp.com' : 'myapp',
'admin.myapp.com' : 'admin',
'test.myapp.com' : 'testm',
},
default_application = 'myapp',
applications = ['myapp','admin','testm'],
controllers = 'DEFAULT',
map_static = True
),
myapp = dict(
functions = dict(
produkty = ['index'],
rozmiary = ['index'],
polityka = ['index'],
),
),
)
--