Can you help me figure out why this is happening and if possible help resolve this?
version: '3.4'
services:
chrome-novnc:
container_name: chrome-novnc
environment:
- VNC_PASS=${VNC_PASS-CHANGE_IT}
- VNC_TITLE=${VNC_TITLE-Chromium}
- VNC_SHARED=${VNC_SHARED-false}
- VNC_RESOLUTION=${VNC_RESOLUTION-1280x720}
- PORT=8080
image: vital987/chrome-novnc:latest
ports:
- "${HOST_PORT-8080}:8080/tcp"
restart: always
nginx:
container_name: nginx
image: nginx:mainline-alpine
restart: always
ports:
- 1337:80
volumes:
- ./nginx:/etc/nginx/conf.d
depends_on:
- chrome-novnc
upstream chrome-novnc {
server chrome-novnc:8080;
}
server {
listen 80;
listen [::]:80;
location / {
proxy_pass http://chrome-novnc;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
}