Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loghouse behind Nginx reverse proxy #92

Open
ignatev opened this issue Jun 29, 2018 · 1 comment
Open

Loghouse behind Nginx reverse proxy #92

ignatev opened this issue Jun 29, 2018 · 1 comment

Comments

@ignatev
Copy link

ignatev commented Jun 29, 2018

Hi.
I'm trying to provide access to loghouse UI through nginx reverse proxy.
As I can see loghouse uses own nginx instance for serving UI.
I'm trying to create rewrite rule on my proxy but nothing works and I'm getting a blank screen only.
Reverse proxy config:

       set $loghouse "http://loghouse.loghouse.svc.cluster.local";
        
       location /loghouse/ {
            rewrite ^/loghouse/(.*) /$1 break;
            proxy_pass $loghouse;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto "https";
            auth_basic "Protected service";
        }

Please help me with setup.

@diafour
Copy link
Contributor

diafour commented Sep 19, 2018

This issue also prevents using loghouse through api proxy with url like this:

http://127.0.0.1:32769/api/v1/namespaces/loghouse/services/tabix:http/proxy/#/login

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants