newsnowlabs / dockside

Develop, stage and test on-prem or in your private cloud. Dockside is a tool for provisioning lightweight access-controlled IDEs, staging environments and sandboxes - aka 'devtainers' - on local machine, on-premises raw metal or VM, or in the cloud
https://dockside.io/
Apache License 2.0
255 stars 17 forks source link

Redirect IDE requests from HTTP to HTTPS #9

Open struanb opened 1 year ago

struanb commented 1 year ago

Sometimes when reopening addresses of devtainers' IDEs, previously navigated to in Chrome, Chrome tries HTTP and one gets an ugly 410 GONE error.

Make Dockside handle HTTP requests for IDEs by responding with a redirect to the same URL on HTTPS.

struanb commented 1 year ago

To implement this in a relatively neat way, I suggest we: