Re: XML with nginx
https://www.google.nl/#q=nginx+lua+read+xmlhttp://viremo.eludi.net/LuaXML/And then do something in a location block like:set_by_lua $notused 'ngx.var.myroot = "default value";if myuri == "www" then...
View ArticleRe: XML with nginx
My xml is on local disk in c:/mystring.xml with this lines :<Streamer><StringText>SomeURL</StringText></Streamer>Please if you can show me how can I get text from StringText...
View ArticleRe: XML with nginx
You read the file into an array,dsarr = {};local file = io.open("file.txt", "r");for i = 1, count, 1 dods_line = file:read();table.insert (dsarr, ds_line);And while reading you could parse the line or...
View Articleclient => connection close => proxy_pass => keepalive
Hinginx/1.8.0I would like to be able to proxy http requests from a client via proxy_pass to upstream servers where the http connection from the client is closed and the http connection to the...
View Articlenginx balancing
Hello,if server nginx balancer crashed, what do i do?Can i have two nginx balancer?If one balancer crashed, the second balancer started
View ArticleRe: nginx balancing
It suppose to auto restart, but its better to find out why it crashed and fix that.
View ArticleRe: nginx balancing
Then get an appliance box, flash nginx on it, add some guard software in case nginx doesn't restart.If you have a hardware loadbalancer you can configure that for failover to your second nginx balancer.
View Articlereverse proxy to remote kibana server
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...
View ArticleRe: reverse proxy to remote kibana server
I'm getting closer... but still don't worklocation /kibana/ {subs_filter_types text/html text/css text/xml;subs_filter href=" href="http://publicwebserver.example.com/kibana/;subs_filter src="...
View ArticleHttpSubsModule ... problem with spaces in strings
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...
View ArticleRe: HttpSubsModule ... problem with spaces in strings
Have you tried enclosing them with quotes "" ?
View ArticleRe: HttpSubsModule ... problem with spaces in strings
Hi!Yes, I did... In fact subs_filter does grat job replacing strings such as src="/localf with src="http://remotthe problem comes with spaces as I want to alter pieces of html code as they return from...
View ArticleRe: HttpSubsModule ... problem with spaces in strings
If this doesn't work you need to use Lua,http://stackoverflow.com/questions/26436891/nginx-lua-modify-html-response-after-proxy-pass
View ArticleRe: HttpSubsModule ... problem with spaces in strings
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...
View ArticleRe: reverse proxy to remote kibana server
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="...
View ArticleHow to controlling what users can access under al proxied location?
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...
View Articlenginx sends 404 instead of waiting for fastcgi
Hey all!Our nginx is configured to send thumbnails from a folder. If they don't exist, nginx has to pass the request to fastcgi to generate the thumbnail and send it to the user.If the requested...
View Article