Ask Your Question

Eric Crockett's profile - activity

2017-10-30 19:45:00 +0200 received badge  Supporter (source)
2017-10-30 19:44:59 +0200 received badge  Scholar (source)
2017-10-30 19:08:10 +0200 commented answer Forward HTTP requests to HTTPS

I see. So the notebook is itself a web server (not running on top of apache or similar). I just set up a basic nginx/apache web server that forwards requests to the sage notebook? Is that the basic idea?

2017-10-30 18:59:08 +0200 commented answer Forward HTTP requests to HTTPS

I'm using the sagemath-upstream-binary package from ppa:aims/sagemath, so I didn't explicitly install or configure any web server. What web server is used with that distribution, and where can the config files be found?

2017-10-30 18:44:43 +0200 received badge  Student (source)
2017-10-30 18:44:20 +0200 asked a question Forward HTTP requests to HTTPS

I've set up my Sage server to run on a public-facing interface and with the 'secure=True' option. I'm also forwarding port 443 to this secure server. This works reasonably well, except that the only way to access the server is with an explicit "https://" (no port number required since I'm forwarding 443). I'd like to just be able to type my hostname (without the protocol) and be automatically redirected to the secure portal. Is there some way to configure the underlying web server to do this?