Question
How To Set Up the code-server Cloud IDE Platform on Ubuntu 20.04 - FAILES
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"
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×