|
web2py requires SSL to log into the admin interface so it's only possible to access it if the site is set to use https in the control panel. I don't need SSL for my web site though. Is there a way to get only the admin page for web2py enabled for https? |
|
You can create an HTTPS 'clone' of your website configuration and use it for the /admin URL. It will use our provided cert which will display a browser warning, but it will be secure. Documentation may be found here. I don't understand how to clone the configuration: which files? Can you show an example? Thank you! You don't need to clone any files - you just need to create a new site in our control panel, identical to your HTTP site (same domains, apps, and URL paths), but with HTTPS checked. If I understand well, by cloning the configuration for the secure site, each single page of the website will be available both by http and https. Is it correct? I am not talking about private content for logged users, but the accessibility of the pages themselves. |