Okay, but Massimo, 

What's the logic to route multiple domain to multiple different apps hosted 
at pythonanywhere? The above don't seem to work (example shown with two 
domains being routed to two apps - doesn't work).

-Ron


On Sunday, June 4, 2017 at 12:14:11 PM UTC-4, Massimo Di Pierro wrote:
>
> I recommend this logic be moved to nginx. web3py will no longer support 
> this.
>
> On Sunday, 4 June 2017 04:52:34 UTC-5, Ron Chatterjee wrote:
>>
>> Would this be same as the domain mapping? 
>>
>>
>>         
>>
>> routers = dict(
>>   BASE  = dict(
>>       domains = {
>>           'domain1.com' : 'app1',
>>           'domain2.com' : '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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to