Re: Shiro over Nginx

2018-11-29 Thread Abhi Basu
Thanks a lot. That worked very well. Abhi On Thu, Nov 29, 2018 at 3:11 PM Sam Nicholson wrote: > I believe I do what you are attempting. NGINX reverse proxy (and SSL > termination) and shiro users (i.e. not NGINX users). > Here is the NGINX config that works here. > > Our arch is: {Internet}

Re: Shiro over Nginx

2018-11-29 Thread Sam Nicholson
I believe I do what you are attempting. NGINX reverse proxy (and SSL termination) and shiro users (i.e. not NGINX users). Here is the NGINX config that works here. Our arch is: {Internet}--443-->[NGINX]==6800==>[zeppelin] server_name zeppelin.OURDOMAIN.com; ssl_certificate /e

Re: Shiro over Nginx

2018-11-29 Thread Abhi Basu
So, if I want to use nginx only for reverse proxy and shiro for Zeppelin authentication, do I not need to do step 3: https://zeppelin.apache.org/docs/0.6.2/security/authentication.html Thanks. On Thu, Nov 29, 2018 at 5:16 AM Xun Liu wrote: > hi,Abhi Basu > > First you need to explain your deplo

Re: Shiro over Nginx

2018-11-29 Thread Abhi Basu
Yes, this helps. We have a single Zeppelin service. Thanks, Abhi On Thu, Nov 29, 2018 at 5:16 AM Xun Liu wrote: > hi,Abhi Basu > > First you need to explain your deployment: > How many zeppelin-servers do you have through nginx reverse proxy? > > 1)If there is only one zeppelin service, you ca

Re: Shiro over Nginx

2018-11-29 Thread Xun Liu
hi,Abhi Basu First you need to explain your deployment: How many zeppelin-servers do you have through nginx reverse proxy? 1)If there is only one zeppelin service, you can refer to the link below for configuration. https://zeppelin.apache.org/docs/0.6.2/security/authentication.html

Re: Shiro over Nginx

2018-11-29 Thread Sarthak Sharma
How many zeppelin instances are behind the reverse proxy and also what is the balancing policy ? Since zeppelin loads all its notes during startup and if there are multiple zeppelin instances, a note created at first instance will not be reflected on another (even if they share the same notes dir)

Shiro over Nginx

2018-11-28 Thread Abhi Basu
We have a CDH cluster which has Zeppelin 0.8.0 installed on it. We enabled basic authentication using Shiro. When we used Nginx for reverse proxy, Zeppelin site loads fine, and once we log in (using Shiro users), we dont see the Notebooks created by that user earlier. Would Nginx not work with Shir