Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

Re: Access to the requested URI has been blocked by the URL Firewall

> Access to the requested URI has been blocked by the URL FirewallYou need to find out first who is giving this message, use curl to look at the headers.

View Article


Re: Wildcard subdomains pointing each one to a folder with the same name as...

Ah then you need something like this:map $host $dswcname {default "www";~smartgrids "smartgrids";[...]}server {listen 80;server_name .site.eu;[...]root /home/hifolio/public_html/$dswcname;[...]

View Article


Re: nginx config question, rules?

$10 btc to whoever can help me out lol

View Article

Re: nginx config question, rules?

Your going about it the wrong way, first learn what map does, try a few simple map's, get/install curl, run curl on your map test setup and see what comes back. Once you see the power of map, what curl...

View Article

String replace in .m3u8 file

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'...

View Article


500 error from timeout

Hi there,I'm new here, so forgive me if it's not the right place to post my question.I'm using Nginx, and I've got a timeout error when making an upload with a php archive application (Ica-AtoM). The...

View Article

Re: String replace in .m3u8 file

Can you be a bit more clearer in what you want to happen (or not to happen) ?

View Article

Re: String replace in .m3u8 file

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...

View Article


Re: String replace in .m3u8 file

Ok, but you said;"I can replace string if is not .m3u8 but if is on .m3u8 then I have a problem"Can you explain what the problem is?To me this seems to be working.If you do a curl -h...

View Article


Re: nginx config question, rules?

itpp2012 Wrote:-------------------------------------------------------> Your going about it the wrong way, first learn what map does, try a> few simple map's, get/install curl, run curl on your...

View Article

Re: nginx config question, rules?

not a single documentation on how to use it with cookies & variables, so it can't be that easy? lol

View Article

Re: nginx config question, rules?

set_sha1 $helpme hello;map $http_cookie $logged_in {default 0;~MyCustom_Cookie $helpme;}if ($logged_in = $helpme) {return 503;}omg heeeeeeeeeelp.. headcache -.-

View Article

Re: nginx config question, rules?

TPFreak Wrote:-------------------------------------------------------> not a single documentation on how to use it with cookies & variables,> so it can't be that easy? lolThats why I said...

View Article


Re: nginx config question, rules?

itpp2012 Wrote:-------------------------------------------------------> TPFreak Wrote:> -------------------------------------------------------> > not a single documentation on how to use...

View Article

Re: String replace in .m3u8 file

No the problem is if I use for example :proxy_pass http://domen.com/test/someurlsub_filter 'EXTM3U' 'newstring';sub_filter_once off;subs_filter 'EXTM3U' 'newstring' i;replace is working, but if is m3u8...

View Article


Re: String replace in .m3u8 file

Maybe use another location block to loop-back where you can change the name (or request something else) and stream via this extra block.

View Article

Re: String replace in .m3u8 file

I trying also that but not working !Any onother example ?

View Article


Re: String replace in .m3u8 file

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...

View Article

XML with nginx

Is possible to use xml file to read some string for nginx proxy_pass ?

View Article

Re: XML with nginx

Using Lua you can read anything, convert and set variables.

View Article
Browsing all 4759 articles
Browse latest View live


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