Hi forum. I open this thread as a follow on of a previous one, once I successfully "mounted" a remote kibana server under a location. Here is the current, base, vhost setup that allows me to do so: location /kibana/ { subs_filter_types text/html text/css text/xml; subs_filter href=" href="http://publicwebserver.example.com/kibana/; subs_filter src=" src="httby alexolivan - How to...
A starting point achieved! location /kibana/ { subs_filter_types text/html text/css text/xml; subs_filter href=" href="http://publicwebserver.example.com/kibana/; subs_filter src=" src="http://publicwebserver.example.com/kibana/; proxy_pass http://elkserver.example.net/; proxy_read_timeout 90; } location /elasticsearch/ { proxy_pass http://elkserver.example.net;by alexolivan - How to...
ouch!.... I was affraid of this reply... seems I should park the matter for the time being. the complexity of LUA is scaring, and also means recompile my production nginx server...., I know it is surely the only way to go... but too much overhead... but thank you very much for your help! Best regards!!!by alexolivan - How to...
Hi! Yes, I did... In fact subs_filter does grat job replacing strings such as src="/localf with src="http://remot the problem comes with spaces as I want to alter pieces of html code as they return from the proxied server (basically I want to hide or completely remove a div I do not want to appear on the site). It is the only way I know off on how to filter a piece of a website Iby alexolivan - How to...
Hi forum.... I'm using subs_filter in some of my sites nicely... but now I'm dealing with a situation where I'm completely stuck... Documentation is scarce and my knowledge limited... so: Does somebody know how to use HttpSubsModule (or whatever else) to replace strings that DO CONTAIN spaces amid string? Best regrads!by alexolivan - How to...
I'm getting closer... but still don't work location /kibana/ { subs_filter_types text/html text/css text/xml; subs_filter href=" href="http://publicwebserver.example.com/kibana/; subs_filter src=" src="http://publicwebserver.example.com/kibana/; proxy_pass http://elkserver.example.net/; proxy_read_timeout 90; } location /elasticsearch/_aliases$ { proxy_pass http:by alexolivan - How to...
Hi forum... I'm trying to create a reverse proxy setup that may allow clients to access remotely hosted kibana dashboards. I know it can be hard... to do same the same thing with against a munin server I had to use subs_filter, in coordination along with a precisely synced set of rewrites, break and last, in order to make it to work... (I shared in these forums my working setup just in case itby alexolivan - How to...
INITIALLY SOLVED... There is room for refinement... but that works quiet well! location /graphs/ { subs_filter_types text/html text/css text/xml; subs_filter href="(../)* href="http://somedomain.example.com/graphs/ ir; subs_filter src="/munin-cgi/munin-cgi-graph/somedomain.example.com/Servers/somedomain/ src="http://somedomain.example.com/graphs/; proxy_buffering ofby alexolivan - How to...
I think I' m getting reaaaally close... It turned out to be far more complex that I thought... To succeed I use a combination of rewrites, in a determined sequence, playing with last and break at the end, to control what goes to the remote munin server. this is DONE The problem comes with the reply from the munin server... I need to modify it I had to recompile in order to use the subs filby alexolivan - How to...
Hi NGINX comunity! Has anyone ever tried (or succeeded!) on proxying a remote munin server? What I'm trying to do is to create a location on my nginx server vhost (let's say "/graphs"). Then, under /graphs, I want to let nginx to proxy the graphs structure from a remote munin (CGI driven) server (let's say http://my-munin-server/munin) ... Obviously, this still sound no tricky (eby alexolivan - How to...
![]() |
![]() |
![]() |
![]() |
|