﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1566	Websockets not working for proxy_pass	sanket.1985@…		"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: https://zeppelin.apache.org/docs/0.7.3/security/authentication.html

Configuration of default.conf file for Nginx is as below:
{{{
        location /zeppelin/ {
            proxy_pass http://104.211.216.218/;
            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_pass http://104.211.216.218/ws;
            proxy_http_version 1.1;
            proxy_set_header Upgrade websocket;
            proxy_set_header Connection upgrade;
        }

}}}"	defect	closed	major		nginx-module	1.13.x	worksforme			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 version: nginx/1.13.12
