Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: XML with nginx

$
0
0
https://www.google.nl/#q=nginx+lua+read+xml

http://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 ngx.var.myroot = "someothervalue"; end;
';

But then of-course with a variable to be used in proxy_pass.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>