as often, you're making things much more complicated then they really are.
web2py "calculates" what password_portnumber.py to use seeing where the 
server listens to. It has (and can't have) knowledge of any proxies in 
between.
So, even if your site is reachable from the outside world on the port 443, 
the web2py code will see those request coming to the 80 port if you 
configured gunicorn to listen on that one.... it's nginx that is 
"translating" whatever comes through 443 to the 80 of gunicorn (because of 
your configuration). So, in your case, web2py will search the 
parameters_80.py file because it's where the requests are coming from 
(nginx) because it can't know that the nginx configuration is doing the 
translation between 443 and 80.

-- 
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/groups/opt_out.

Reply via email to