I think the port is set by your script: 9001 and it is the same for http and https.
On Monday, 17 June 2013 09:24:36 UTC-5, Paolo valleri wrote: > > Hi Massimo, I've just tried but the issue hasn't gone :( > what can I do to debug it more, by who is the request.env.server_port > setter ? > > Paolo > > On Sunday, June 16, 2013 10:32:37 AM UTC+2, Massimo Di Pierro wrote: >> >> After >> >> uwsgi_param UWSGI_SCHEME $scheme; >> >> you must add >> >> uwsgi_param HTTP_X_FORWARDED_PROTO https; >> >> >> >> On Wednesday, 12 June 2013 09:09:01 UTC-5, Paolo valleri wrote: >>> >>> Hi Massimo, I used https. I expired the same behavior on both apache and >>> nginx. >>> please find attached the condiguration file of nginx >>> >>> Paolo >>> >>> >>> 2013/6/12 Massimo Di Pierro <[email protected]> >>> >>>> In the URL, are you using http or https? Assuming you use apache, can >>>> you show the config file? >>>> >>>> On Wednesday, 12 June 2013 01:53:25 UTC-5, Paolo valleri wrote: >>>>> >>>>> Hi all, I have to migrate a web2py app to a centos server. It has >>>>> python 2.6.6, uwsgi 1.9.12. admin fails saying: >>>>> >>>>> "admin disabled because unable to access password file" >>>>> >>>>> the file (parameters_443.py) is there. I tried to debug the failure >>>>> and I discover that, despite the fact that I use https, it tries to >>>>> access >>>>> parameters_80.py. >>>>> Thus, I created the file parameters_80.py but then it fails saying to >>>>> use https :(. >>>>> >>>>> Paolo >>>>> >>>>> >>>>> >>>>> -- >>>> >>>> --- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "web2py-users" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/web2py/1PDpL5yRKMs/unsubscribe?hl=en. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>>> >>> >>> -- --- 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/groups/opt_out.

