Opened 6 years ago

Closed 6 years ago

#1566 closed defect (worksforme)

Websockets not working for proxy_pass

Reported by: sanket.1985@… Owned by:
Priority: major Milestone:
Component: nginx-module Version: 1.13.x
Keywords: Cc:
uname -a: Linux pmdocker 4.13.0-43-generic #48-Ubuntu SMP Wed May 16 12:18:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.13.12


I am trying to put Nginx in front of Zeppelin. For the same, have done configuration of Zeppelin for Nginx based on their documentation. While am trying to follow the steps, it seems that Websockets are not working with Zeppelin.

Reference guide followed is at:

Configuration of default.conf file for Nginx is as below:

        location /zeppelin/ {
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $http_host;
            proxy_set_header X-NginX-Proxy true;
            proxy_redirect off;

        location /zeppelin/ws {
            proxy_http_version 1.1;
            proxy_set_header Upgrade websocket;
            proxy_set_header Connection upgrade;

Change History (2)

comment:1 by Maxim Dounin, 6 years ago

If you think this is a bug in nginx, please provide details on why do you think it is indeed bug in nginx, and not a bug in Zeppelin and/or misconfiguration in your setup. If you need help with configuring nginx, consider using support options available.

comment:2 by Maxim Dounin, 6 years ago

Resolution: worksforme
Status: newclosed

Feedback timeout.

Note: See TracTickets for help on using tickets.