exclude error_page on geoip

2016-11-02 Thread Tseveendorj Ochirlantuu
Hello, I need to use geoip module for allow specific region access to my website. But blocked users should see the error_page. Users are blocked and cannot see custom error_page. I don't want to see error_page from other domain. I need to except only error page which is not applied to geoip block

AW: AW: Nginx Kodi User Agent secure_link blocking / banning

2016-11-02 Thread Lukas Tribus
> Yes the links are generated correctly but because their plugin does not > currently contain the regex to understand ampersands in HTML. If they was to > fix their plugin and use regex to replace the ampersand & with & then > the link would work correctly. > > It bothers me because the fix is as

Re: Blocking tens of thousands of IP's

2016-11-02 Thread Maxim Dounin
Hello! On Tue, Nov 01, 2016 at 05:37:59PM -0400, CJ Ess wrote: > I don't think managing large lists of IPs is nginx's strength - as far as I > can tell all of its ACLs are arrays that have the be iterated through on > each request. > > When I do have to manage IP lists in Nginx I try to compress

Question about Error logs

2016-11-02 Thread pkjchate
Hi, I just migrated from Apache to Nginx. I have a question error logs. Nginx now logs same error again and again in the log file, but with different request IPs. Is there any setting I can do, so that Nginx only logs 1 error in same file only once in the file. The problem is I am getting a lo

Re: location regex

2016-11-02 Thread Igor Sysoev
On 02 Nov 2016, at 01:49, olat wrote: > Looks like there is a bug in the forum. 2 the same topics and the response > ended up in the wrong thread, mixed up ;-) Yes, the forum has some issues when answer come from the mailing list. > Anyway, Thanks Igor for a quick response. Could you explain mo

Re: AW: Nginx Kodi User Agent secure_link blocking / banning

2016-11-02 Thread c0nw0nk
Lukas Tribus Wrote: --- > I have a question: secure_link is correctly blocking those requests so > its not generating any traffic. > > Why does it bother you then, if it is already blocked? > > ___ > n

AW: Nginx Kodi User Agent secure_link blocking / banning

2016-11-02 Thread Lukas Tribus
I have a question: secure_link is correctly blocking those requests so its not generating any traffic. Why does it bother you then, if it is already blocked? ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx Kodi User Agent secure_link blocking / banning

2016-11-02 Thread c0nw0nk
I wouldn't mind those using app's like Kodi if they did not just hotlink and steal my links. If my adverts was still there and I am being reimbursed for my work and content and bandwidth they are consuming. Then I wouldn't mind but I bet Kodi is not the only app with plugins doing this. The only s

Re: Nginx Kodi User Agent secure_link blocking / banning

2016-11-02 Thread c0nw0nk
Yes I see after looking at the various plugins on GitHub it seems they replace the & ampersand string with & when they pull contents from the HTML. They also fake / spoof referrers and can change user-agents etc but they do it properly not like the person who has ended up in my logs. As you said th

Re: Are there plans for Nginx supporting HTTP/2 server push?

2016-11-02 Thread navern
Hello, I have same question. Are there any estimates for this feature? Maybe i missed something:) On 22.09.2016 15:00, mastercan wrote: Is there something like a release timeline for HTTP/2 server push feature in Nginx? It would help make https connections faster and get rid of one TCP roundt

Re: Nginx Kodi User Agent secure_link blocking / banning

2016-11-02 Thread lists
I don't know how to state this without being insulting, but Kodi is designed to be used by dumb people. That is how I use it. It seems pointless to me to try to hack Kodi into doing something it wasn't meant to do. That is why I called that example an edge case.  There is a YouTube plugin for K

Re: Nginx Kodi User Agent secure_link blocking / banning

2016-11-02 Thread c0nw0nk
gariac Wrote: --- > ‎Apparently there is a scheme to feed urls to kodi.  > > ‎https://m.reddit.com/r/kodi/comments/3lz84g/how_do_you_open_a_youtube > _video_from_the_shell/ > > Block/ban as you see fit. ;-) These people are edge users of Kodi. 

Re: Nginx Kodi User Agent secure_link blocking / banning

2016-11-02 Thread lists
‎Apparently there is a scheme to feed urls to kodi.  ‎https://m.reddit.com/r/kodi/comments/3lz84g/how_do_you_open_a_youtube_video_from_the_shell/ Block/ban as you see fit. ;-) These people are edge users of Kodi.  But you may want to search the interwebs to see if someone is attempting to write

Re: Nginx Kodi User Agent secure_link blocking / banning

2016-11-02 Thread c0nw0nk
gariac Wrote: --- > Kodi is the renamed xbmc. I use it myself, but I never "aimed" it at a > website. I just view my own videos or use the kodi plug-ins. You can > install it yourself on a PC and see it is intended to be just a media > player. It

Re: Nginx Kodi User Agent secure_link blocking / banning

2016-11-02 Thread lists
Kodi is the renamed xbmc. I use it myself, but I never "aimed" it at a website. I just view my own videos or use the kodi plug-ins. You can install it yourself on a PC and see it is intended to be just a media player. It really isn't any different that seeing VLC as the agent.  Perhaps someone