You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Sanket Shah (JIRA)" <ji...@apache.org> on 2018/06/01 13:24:00 UTC

[jira] [Created] (ZEPPELIN-3523) Websocket not working with Nginx Reverse Proxy

Sanket Shah created ZEPPELIN-3523:
-------------------------------------

             Summary: Websocket not working with Nginx Reverse Proxy
                 Key: ZEPPELIN-3523
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3523
             Project: Zeppelin
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7.3
         Environment: Nginx: 1.13.12

Zeppelin: 0.7.3 (Docker image)
            Reporter: Sanket Shah


Am trying to put Nginx in front of Zeppelin. Regular requests are passing through, but Websockets are not working.

Below is excerpt of my configuration:

location /zeppelin/ {
 proxy_pass http://104.211.216.218:8080/;
 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:8080/ws;
 proxy_http_version 1.1;
 proxy_set_header Upgrade websocket;
 proxy_set_header Connection upgrade;
 proxy_read_timeout 86400;
}

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)