loghouse
loghouse copied to clipboard
Loghouse behind Nginx reverse proxy
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.
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