Can not connect to websocket using django-channels , nginx on docker as services -
i'm using docker compose build project django, nginx services. when launch daphne server, , client tries connect websocket server, error: *1 recv() failed (104: connection reset peer) while reading response header upstream client-side shows this failed: error during websocket handshake: unexpected response code: 502 here docker-compose.yml version: '3' services: nginx: image: nginx command: nginx -g 'daemon off;' ports: - "1010:80" volumes: - ./config/nginx/nginx.conf:/etc/nginx/nginx.conf - .:/makeup links: - web web: build: . command: /usr/local/bin/circusd /makeup/config/circus/web.ini environment: django_settings_module: makeup.settings debug_mode: 1 volumes: - .:/makeup expose: - '8000' - '8001' links: - cache extra_hosts: "postgre": 100.73.138.65 nginx: server { listen 80; se...