|   | 1 |  initial version  | 
This is somehow unrelated to Sage, you need to have a webserver listening on port 80 that forwards to port 443.
For example, if you are running nginx, you can add the following in your configuration:
server {
    server_name your_hostname.net ;
    listen 80;
    location '/' {
        return 301 https://$server_name$request_uri;
    }
}
|   | 2 |  No.2 Revision  | 
This is somehow unrelated to Sage, you need to have a webserver listening on port 80 that forwards to port 443.
For example, if you are running nginx, you can add the following in your configuration:
server {
    server_name your_hostname.net ;
    listen 80;
80 ;
    location '/' {
        return 301 https://$server_name$request_uri;
https://$server_name$request_uri ;
    }
}
We use that for the site ask.sagemath.org ;)
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.