Is this the best way to set up multiple domains on one server with Nginx or
better to set up nginx "sites-available" etc configs?
On Saturday, March 23, 2013 at 3:01:38 AM UTC-7, peter wrote:
>
> Sorry about replying late Tito. I struggled with your problem for quite a
> while, and here is a
Hi Peter! It helps a lot! I didn't know that we could have another
routes.py inside the application folder, is it described anywhere in the
book? Thanks!
Tito
On Sat, Mar 23, 2013 at 7:01 AM, peter peterchutchin...@gmail.com wrote:
Sorry about replying late Tito. I struggled with your problem
Sorry about replying late Tito. I struggled with your problem for quite a
while, and here is a solution.
In the web2py folder have a routes.py like this
#!/usr/bin/python
# -*- coding: utf-8 -*-
routes_app=[
('.*://www.site1.com:\w* /$anything','app1'),
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
4 matches
Mail list logo