Running Apache Zeppelin with nginx as reverse proxy Running Apache Zeppelin with nginx as reverse proxy apache apache

Running Apache Zeppelin with nginx as reverse proxy


you can add to your reverse proxy configuration

location /ws {  # For websocket support    proxy_pass http://zeppelin:8080/ws;    proxy_http_version 1.1;    proxy_set_header Upgrade websocket;    proxy_set_header Connection upgrade;    proxy_read_timeout 86400;}

Reference: Zeppelin 0.7 auth docs


After a lot of digging around, i ended up with this configuration :

location /zeppelin/ {    proxy_pass http://zeppelin: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://zeppelin:8080/ws;    proxy_http_version 1.1;    proxy_set_header Upgrade $http_upgrade;    proxy_set_header Connection "Upgrade";}

This is working pretty good, thank you everyone for your efforts ;)