1)

web2py.py -L options.py

will read the configuration from a options.py file. An example is in 
examples/options_std.py 

2) 

Yes. All pages will require https.



On Wednesday, 22 October 2014 11:18:12 UTC-5, John Lofgren wrote:
>
> Hi, all,
>
> I would like to configure web2py to use SSL with the built-in web server. 
> The examples I have found (e.g. 
> http://www.web2py.com/AlterEgo/default/show/140) show to pass the cert 
> and key on the command line with the -c and -k options. So, two questions:
>
> 1) Is there a way to set the cert and key in a configuration file instead? 
> 2) When I set the cert and key, does that turn on SSL for every page 
> automatically?
>
> Thanks,
> John
>

-- 
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