I use Google Chrome as the default browser, its version is 81.0.4044.138, and I put code-server on a remote server, the system is centos7, and the following reminder is displayed when I log in to the browser:
code-server is being accessed over an insecure domain. Web views, the clipboard, and other functionality will not work as expected.
You need a domain and enable https.
You need a domain and enable https.
How dose code-server starts with https. I find that it starts defaultly with http.
You can set up a reverse proxy server using Nginx, and then obtain an SSL certificate from LetsEncrypt or other places.
Thank you! I will try it!
Thank you for the assistance @yyjlincoln. We're aware that setup documentation is lacking.
https://github.com/cdr/code-server/pull/1628 aims to solve this problem.
You can set up a reverse proxy server using Nginx, and then obtain an SSL certificate from LetsEncrypt or other places.
I'm running on Ubuntu using Nginx , so how can I do that ?
You can set up a reverse proxy server using Nginx, and then obtain an SSL certificate from LetsEncrypt or other places.
I'm running on Ubuntu using Nginx , so how can I do that ?
Those docs might help you.
Configure Nginx:
http://nginx.org/en/docs/http/configuring_https_servers.html
Obtaining a SSL certificate from LetsEncrypt:
Thanks! It's working. But crashing on AWS free tier machine...
Most helpful comment
You can set up a reverse proxy server using Nginx, and then obtain an SSL certificate from LetsEncrypt or other places.