Replies
3 comments
|
I gave this a shot but I wasn't able to replicate. Here's what I did:
```
$ docker run -p 8080:80 --name code-server codercom/code-server:3.7.1
$ docker exec code-server sudo apt update
$ docker exec code-server sudo apt install nginx
$ docker cp nginx.conf code-server:/etc/nginx/sites-available/default
$ docker exec code-server sudo nginx
```
Where nginx.conf is:
```
server {
listen 80 default_server;
listen [::]:80 default_server;
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Accept-Encoding gzip;
}
}
```
Then I went to localhost:8080 which hits the Docker container and NGINX
but everything loaded up for me.
The Docker container uses the .deb though so maybe it could be something
with the .rpm.
Could you post the logs from code-server? It might show us something.
|
Hello,
after update on 3.7.1 (.rpm package) i got this error:

when i downgrade on 3.6.2 everything is fine.
My nginx:
My ~/.config/code-server/config.yaml
I try reconfigure nginx and also config.yaml without success.
Some ideas? Thanks for help.