Hello, I use Lua code for XML file but I get problem ( error 500 ) when I try to get more then once some atribute. here is a my code : rewrite_by_lua ' require("LuaXml") local xfile = xml.load("test.xml") local xscene = xfile:find("scene") ngx.say(xscene.id) '; First time work fine, but next time when I going to refreshing location I get error :by rfocus_streamer - How to...
Hello, how can I use ngx.timer.at and ngx.location.capture in same location ? I trying some code but I get error ! rewrite_by_lua ' local delay = 1 -- in seconds local dogs = ngx.shared.dogs local status = dogs:get("Status") if status == nil then dogs:set("Status", 1) end local new_timer =by rfocus_streamer - How to...
Is possible to store some session on some table to monitoring active auth. user ? I need when is some user connected over proxy_pass to store their username on some table and to display over some location until connections is lost ?!by rfocus_streamer - How to...
Thank you very much, I just wanted to make sure that the nginx is not a problem.by rfocus_streamer - How to...
Here is a link of picture : http://s4.postimg.org/g9d62snt9/nginx_upload.jpgby rfocus_streamer - How to...
there is no attachments is only live stream, also on log there is nothing !by rfocus_streamer - How to...
9090 working without problem, but problem is with port 8080 ( nginx ) sometimes upload going down ( see picture on attach. ), maybe is a problem network adapter also but I want to know can nginx make that problem with sending data to users ?!by rfocus_streamer - How to...
http://127.0.0.1:9090 is local iptv stream running on VLC so can serve lot of connections, I need to configure nginx to proxypass local iptv stream for large users !by rfocus_streamer - How to...
No there is no php on this server, only proxy_pass So I need for best performance config rules !by rfocus_streamer - How to...
nginx/1.7.11.3 Gryphon ( Windows )by rfocus_streamer - How to...
Hello, can someone to help me for config file to use for large number of connections ? I use nginx only for proxy_pass but I see problem with upload and send data to users ( on error log there is nothing ) Can anyone give me recommendation how to set up nginx.conf ? here is my config line : user www-data; worker_processes auto; worker_rlimit_nofile 8192; events { worker_connby rfocus_streamer - How to...
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 attribute ?by rfocus_streamer - How to...
Can you give me some example with lua ?by rfocus_streamer - How to...
Is possible to use xml file to read some string for nginx proxy_pass ?by rfocus_streamer - How to...
I resolve problem with lua code : location /hls01{ more_set_headers 'Content-Type: text/plain'; proxy_pass http://domen.com/test/playlist.m3u8; } location /newhls01{ default_type 'text/plain'; content_by_lua ' local res = ngx.location.capture("/hls01") if res.status == 200 then izmena = ngx.re.gsub(res.bby rfocus_streamer - How to...
I trying also that but not working ! Any onother example ?by rfocus_streamer - How to...
No the problem is if I use for example : proxy_pass http://domen.com/test/someurl sub_filter 'EXTM3U' 'newstring'; sub_filter_once off; subs_filter 'EXTM3U' 'newstring' i; replace is working, but if is m3u8 file from remote host then not working ! So I need to modifi that maybe is download file then to serve to browser !by rfocus_streamer - How to...
Thanks for your answer, I use proxy_pass to hide real url for m3u8 file from onother server, proxy working but I need to change string in that file. For example if I open on browser url http://127.0.0.1:8080/test I get over proxy_pass #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=1000000 chunklist_w000000_x1000000.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=2500000 chunklist_w000000_x250000by rfocus_streamer - How to...
Hello, how to replace some string from proxy_pass but from remote file ?! proxy_pass http://domen.com/test/playlist.m3u8; sub_filter 'EXTM3U' 'newstring'; sub_filter_once off; subs_filter 'EXTM3U' 'newstring' i; I can replace string if is not .m3u8 but if is on .m3u8 then I have a problem Thanksby rfocus_streamer - How to...