On Monday, April 16, 2018 at 7:51:21 AM UTC-7, Anthony wrote:
>
> Another option is to configure your web server to do the redirect.
>
>
And that's easy enough in NGINX that even I have been able to set it up.  I 
did use the request.requires_https() method when I was still using Rocket, 
but that ended when I got into certificate update issues.

/dps
 

> On Monday, April 16, 2018 at 9:32:36 AM UTC-4, Leonel Câmara wrote:
>>
>> You can just put this in your model:
>>
>> request.requires_https()
>>
>

-- 
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/d/optout.

Reply via email to