I think that the problem is not the welcome app since the admin url is
constucted with the URL helper. Some request object value has to be
misconfigured so the welcome app creates the wrong url.

On 30 ene, 08:02, Benjamin <[email protected]> wrote:
> Hello all,
>
> There is something weird in the default nginx install script "setup-
> web2py-nginx-uwsgi-ubuntu.sh".
>
> After install, trying to log to the admin panel from the "welcome"
> page raise the dreaded "admin deactivated because of unsecured
> channel", whereas the nginx script DOES create an ssl certificate.
>
> It seems it's because the html link from the welcome page points to
> the unsecured (http://) admin page instead of the secured (https)
> admin page.
>
> Thus, by trying to access the page from the welcome page it doesn't
> work whereas trying to access directyhttps://192.168.1.104/admin/default/index
> works perfectly.
>
> I don't know exactly where the bug comes from (welcome page template
> or nginx install ?)
>
> Cheers,

Reply via email to