Report this

What is the reason for this report?

How To Set Up the code-server Cloud IDE Platform on Ubuntu 20.04 - FAILES

Posted on January 9, 2021

As I was following through the tutorial: “How To Set Up the code-server Cloud IDE Platform on Ubuntu 20.04”

last step was editing the file: code-server.conf, with:

server {
    listen 80;
    listen [::]:80;

    server_name code-server.your-domain;

    location / {
      proxy_pass http://localhost:8080/;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection upgrade;
      proxy_set_header Accept-Encoding gzip;
    }
}

“your.domain” i replaced with: data-entanglement.com and saved the and symlinked.

i thereafter get a test failure running:

sudo nginx -t

“nginx: [emerg] unknown directive “SERVER” in /etc/nginx/sites-enabled/data-entanglement:1”

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.